• RSS
  • Facebook
  • Twitter
  • Linkedin
Home > Error Failed > Error Failed To Set File Mode For Pdf File

Error Failed To Set File Mode For Pdf File

vdmgolub commented Jun 26, 2013 I know it's closed for a year, but maybe this helps someone else. gbullman Level 2 (301 points) Q: CUPS-PDF Produces no output? Copy sent to Debian CUPS Maintainers . (Fri, 13 Nov 2009 19:03:08 GMT) Full text and rfc822 format available. Maybe it isn't? this contact form has "File"/"Export to PDF ..." and the current printing dialogs of both KDE and GNOME have functionality to print into a PDF file, actually saving it as PDF, asking the Well done! After installing cups and cups-pdf from optware I had to do some fine-tuning to get it working:* correct user rights for /opt/lib/cups/backend/cups-pdf to 700 or (rwx------), owner root, group root* double Already have an account?

If this directory is not used (or is a symlink, just to add this), that means you've changed the default path in cups-pdf.conf, you'll need to apply this changes in the Acknowledgement sent to Celejar : Extra info received and forwarded to list. Changing cups-pdf.conf again to Out ${HOME}/PDFPrint (without creating a /PDFPrint directory first), then printing: 1) created the directory, and 2) printed the PDF in the newly created /PDFPrint directory.

Sign in. Helpful (0) Reply options Link to this post by gbullman, gbullman Jul 18, 2011 9:13 AM in response to gbullman Level 2 (301 points) Jul 18, 2011 9:13 AM in response Celejar -- - Feeds OFFLine, an offline RSS/Atom aggregator - remote access via secure (OpenPGP) email - A Simple Sudoku Solver and Generator Information forwarded to [email protected], Debian CUPS PDF will no longer let you print PDF files that have had print restricted by the author.

Full text and rfc822 format available. In > the mean time we will only sync with upstream and fix bugs. Skip to content Ignore Learn more Please note that GitHub no longer supports old versions of Firefox. Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Post Reply Print view 6 posts • Page 1 of 1 Return

great stuff I am trying to move all (kind of) services to this marvellous extension of my network, one of them is to open print q's and spool (via Cups) to For testing purposes I'm trying to print a simple TextEdit text only doc. As cups-pdf is called by CUPS, > the AppArmor profile of CUPS also applies to cups-pdf. > Thanks for the info, I'll add apparmor back in. It is here just in case someone else wants to carry this further for some reason.

  1. All replies Helpful answers by etresoft, etresoft Jul 18, 2011 8:25 AM in response to gbullman Level 7 (29,325 points) Mac OS X Jul 18, 2011 8:25 AM in response to
  2. If I print as a normal user (tkn), I get the following error in "/var/log/cups/cups-pdf_log": [ERROR] failed to set file mode for PDF file (/home/tkn/cups-pdf/fstab.pdf) Permissions of the user-directory: drwx--x--x 125
  3. Affecting: cupsys (Ubuntu) Filed here by: Alexander Hunziker When: 2007-10-01 Assigned: 2007-12-06 Completed: 2008-03-19 Target Distribution Baltix BOSS Juju Charms Collection Elbuntu Guadalinex Guadalinex Edu Kiwi Linux nUbuntu PLD Linux Tilix
  4. If you send it from the CUPS web interface the job is not sent with your user identity, as web applications usually do not run with the identity of the user
  5. If considered necessary, this report could be re-opened or a new bug report, possibly referencing this one, submitted.
  6. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site.
  7. So, how could it be responsible for this problem?
  8. This works if I leave the output directory as 'PDF', and I was able to change the output directory to 'autosave' in Feisty.
  9. Both the version in the .mpkg and the newly compiled one seem to have the same behavior.My understanding was that the workaround for the Sandbox security was the writing of the
  10. Online Community Forum Skip to content Quick links Unanswered posts Active topics Search Forums Facebook Twitter Youtube FAQ Login Register Search Login Register Search Advanced search Board index Using Your Synology

As cups-pdf is called by CUPS, the AppArmor profile of CUPS also applies to cups-pdf. Acknowledgement sent to Thomas Kuhlmann : New Bug report received and forwarded. I'm wondering if something I did then is causing a problem now. (I'm using an up-to-date gutsy.) I've bumped up the log level of /etc/cups/cups-pdf.conf, and attached the log file. Bob Blanchard (blabj) wrote on 2009-04-13: #58 Had this issue on hardy, found this bug - thought I'd share my solution.

Not sure why I had to edit those two files, since editing only /etc/cups-pdf.conf worked when I posted last month. I just saw in /var/log/cups/cups-pdf_log: Fri Mar 7 16:45:12 2008 [ERROR] failed to set file mode for PDF file (non fatal) (/localhome/helge/PDF/nios_print_and_fax_curr_SEK_loc_en-SE.pdf) a number of times. Message #5 received at [email protected] (full text, mbox, reply): From: Celejar To: Debian Bug Tracking System Subject: cups-pdf: printing fails - '[ERROR] failed to set file mode for PDF In the mean time we will only sync with upstream and fix bugs.

If so, add an update. –Faheem Mitha Jul 3 '14 at 10:16 @FaheemMitha Unfortunately, not yet. –Michael Kjörling Jul 5 '14 at 13:10 add a comment| 3 Answers 3 Sat May 17 14:41:07 2008 [ERROR] failed to set file mode for PDF file (non fatal) (/home/drink/PDF/california_highway_sign_-_Google_Search.pdf) Of course doing "grep audit /var/log/kern.log" produces no output - because AppArmor doesn't even In /etc/apparmor.d/usr.sbin/cupsd , here is my /usr/lib/cups/backend/cups-pdf section: /usr/lib/cups/backend/cups-pdf { #include #include #include #include capability chown, capability fowner, capability fsetid, capability setgid, capability setuid, /bin/dash ixr, /bin/bash navigate here Request was from Martin Pitt to [email protected] (Wed, 02 Dec 2009 08:36:07 GMT) Full text and rfc822 format available.

D [30/Nov/2009:15:36:44 -0500] [Job 9] Adding end banner page "none". Or at least it should: Out ${HOME}/PDF Haven't messed with the apparmor config at all. For the corresponding jobs, /var/log/cups/page_log reads: PDF diggity 13 [07/May/2008:14:03:43 -0400] 1 1 - localhost PDF diggity 14 [07/May/2008:16:27:15 -0400] 1 1 - localhost There is nothing in /var/log/apparmor.

e/FoomaticAt this point it worked!-----------------------cups - 1.3.9-1 - Common Unix Printing Systemcups-doc - 1.3.9-1 - Common Unix Printing System documentation.cups-locale-de - 1.3.9-1 - CUPS documentation, template and locale files for decups-pdf

Helpful (0) Reply options Link to this post This site contains user submitted content, comments and opinions and is for informational purposes only. See gs/src/ierrors.h for code explanation. The Debian/Ubuntu package does no such thing. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.

The line: > Mon Oct 1 10:14:51 2007 [ERROR] failed to set file mode for PDF file (non fatal) > (/home/hunzikea/Desktop/Report_a_bug.pdf) leeds me to the assumption, you did change the default-location Post Reply Print view Search Advanced search 6 posts • Page 1 of 1 freeds I'm New! The log says successfully created. You signed out in another tab or window.

You need user-read access to this directory in order for cups-pdf to work. --- The permissions are actually: drwxr-x--x 2 root lpadmin 4096 2009-11-04 09:27 SPOOL but adding universal read access Strategies for creating 3D text Find all matrices that commute with a given square matrix Who owns genes? stefangachter (stefan-gachter) wrote on 2007-10-24: #17 Please, can anybody help. The real bug is in the apps which do not use the current printing dialogs.

Thank's in advance pmoreno (mdpmgdb) wrote on 2010-02-11: #62 Hi all again, i solved my problem with: sudo chmod 777 -R /home/pilar/java thanks Tim Golobic (timgolobic) wrote on 2010-07-04: #63 I'd Thank you Chris! Is it a fallacy, and if so which, to believe we are special because our existence on Earth seems improbable? As an added note: I notice that the printer icon now stays in the panel following any first print job.

Then it would get to: Mon May 14 12:45:17 2012 [ERROR] failed to set file mode for PDF file (non fatal) (/var/spool/cups-pdf/.........) Mon May 14 12:45:17 2012 [STATUS] PDF creation successfully But it works now, so everything is good and the bug can be closed from my point of view. (It works also fine after reinstalling the delivered binary-package instead of the Changed in cups-pdf: importance: Medium → Wishlist status: Fix Committed → Confirmed Martin-√Čric Racine (q-funk) wrote on 2007-10-04: Re: [Bug 147551] Re: cups-pdf fails to generate file #11 On 10/4/07, Till What's up?