{"id":6514,"date":"2020-12-26T16:56:24","date_gmt":"2020-12-26T14:56:24","guid":{"rendered":"http:\/\/mummila.net\/kommentit\/?p=6514"},"modified":"2020-12-26T16:56:24","modified_gmt":"2020-12-26T14:56:24","slug":"yes-this-is-still-present-in-20-04","status":"publish","type":"post","link":"https:\/\/mummila.net\/kommentit\/2020\/12\/26\/yes-this-is-still-present-in-20-04\/","title":{"rendered":"Yes, this is still present in 20.04"},"content":{"rendered":"<p>Yes, this is still present in 20.04 with printer-driver-cups-pdf 3.0.1-6, limited to original reporter&#8217;s case of having the symlink point to another filesystem; if I point ~\/PDF to, say ~\/tmp\/PDF (without crossing filesystem borders), the PDF is created without issue, whereas having ~\/PDF linked to \/media\/$USER\/$USB_THUMBDRIVE\/PDF\/ does still cause it to fail:<\/p>\n<p>[&#8230;]<br \/>\nSat Dec 26 16:48:07 2020  [DEBUG] output filename created: \/home\/jani\/PDF\/Bug__1092099__342_200_234inconsistent_behavior_for&#8230;ry_342_200_-job_8.pdf<br \/>\nSat Dec 26 16:48:07 2020  [DEBUG] ghostscript commandline built: \/usr\/bin\/gs -q -dCompatibilityLevel=1.2 -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile=&#8221;\/home\/jani\/PDF\/Bug__1092099__342_200_234inconsistent_behavior_for&#8230;ry_342_200_-job_8.pdf&#8221; -dAutoRotatePages=\/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=\/FlateEncode -dPDFSETTINGS=\/prepress -c .setpdfwrite -f \/var\/spool\/cups-pdf\/SPOOL\/cups2pdf-233705<br \/>\nSat Dec 26 16:48:07 2020  [DEBUG] output file unlinked: \/home\/jani\/PDF\/Bug__1092099__342_200_234inconsistent_behavior_for&#8230;ry_342_200_-job_8.pdf<br \/>\nSat Dec 26 16:48:07 2020  [DEBUG] TMPDIR set for GhostScript: \/var\/tmp<br \/>\nSat Dec 26 16:48:07 2020  [DEBUG] waiting for child to exit<br \/>\nSat Dec 26 16:48:07 2020  [DEBUG] entering child process<br \/>\nSat Dec 26 16:48:07 2020  [DEBUG] GID set for current user<br \/>\nSat Dec 26 16:48:07 2020  [DEBUG] supplementary groups set for current user<br \/>\nSat Dec 26 16:48:07 2020  [DEBUG] UID set for current user: jani<br \/>\nSat Dec 26 16:48:07 2020  [DEBUG] ghostscript has finished: 256<br \/>\nSat Dec 26 16:48:07 2020  [ERROR] failed to set file mode for PDF file: \/home\/jani\/PDF\/Bug__1092099__342_200_234inconsistent_behavior_for&#8230;ry_342_200_-job_8.pdf (non fatal)<br \/>\nSat Dec 26 16:48:07 2020  [DEBUG] ERRNO: 2 (No such file or directory)<br \/>\nSat Dec 26 16:48:07 2020  [DEBUG] no postprocessing<br \/>\nSat Dec 26 16:48:07 2020  [DEBUG] spoolfile unlinked: \/var\/spool\/cups-pdf\/SPOOL\/cups2pdf-233705<br \/>\nSat Dec 26 16:48:07 2020  [DEBUG] all memory has been freed<br \/>\nSat Dec 26 16:48:07 2020  [STATUS] PDF creation successfully finished for jani<br \/>\njani@latimeria:~$ ls -l PDF<br \/>\nlrwxrwxrwx 1 jani jani 27 joulu  26 16:47 PDF -&gt; \/media\/jani\/KINGSTON_1G\/PDF<br \/>\njani@latimeria:~$ ls -l PDF\/<br \/>\nyhteens\u00e4 0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Though limited to the symlink pointing to another filesystem; if I point ~\/PDF without crossing filesystem borders, the PDF is created without issue.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8860],"tags":[],"class_list":["post-6514","post","type-post","status-publish","format-standard","hentry","category-vianhallintajarjestelmat","sijainti-launchpad"],"_links":{"self":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/6514","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/comments?post=6514"}],"version-history":[{"count":1,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/6514\/revisions"}],"predecessor-version":[{"id":6515,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/6514\/revisions\/6515"}],"wp:attachment":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/media?parent=6514"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/categories?post=6514"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/tags?post=6514"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}