https://bugs.kde.org/show_bug.cgi?id=402020

            Bug ID: 402020
           Summary: Okular creates temporary files with wrong permissions
                    and cannot print
           Product: okular
           Version: 1.3.2
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: printing
          Assignee: okular-de...@kde.org
          Reporter: pikk...@gmail.com
  Target Milestone: ---

SUMMARY


STEPS TO REPRODUCE
1. Open a PDF file in Okular
2. Select File -> Print (to any printer)

OBSERVED RESULT
File does not print. No error messages are produced in GUI. In terminal Okular
outputs "/usr/bin/lpr: Error - unable to access "/tmp/okular_kpTnys.ps" -
Permission denied".
The file /tmp/okular_kpTnys.ps is created with the following permissions:
---------- 1 pikku pikku 5998450 dec 11 21:13 /tmp/okular_kpTnys.ps
The same PDF file prints OK from Evince. Printing also works OK from other KDE
apps.
If I catch the file and chmod it to 777 upon creation with inotifywait, the PDF
prints OK.

EXPECTED RESULT
The temporary file is created readable, lpr can read it and prints it to the
selected printer.

SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux 
KDE Plasma Version: 5.14.3
Qt Version: 5.11.2
KDE Frameworks Version: 5.51.0
Kernel Version: 4.18.0-1-amd64
OS Type: 64-bit
Processors: 4 × Intel® Core™ i3-3225 CPU @ 3.30GHz
Memory: 15.4 GiB of RAM

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to