[okular] [Bug 429608] Printing, saving, and preview of pdf file fails

2020-11-25 Thread Jens Breitenbach
https://bugs.kde.org/show_bug.cgi?id=429608

--- Comment #3 from Jens Breitenbach  ---
Three additions:
1. It works fine on a different PC also running under Kubuntu 20.04, same
program versions (upgraded from 18.04 LTS two weeks earlier)
2. Printing works when starting okular with root privileges.
3. Printing also works when I force rasterization.

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

[okular] [Bug 429608] Printing, saving, and preview of pdf file fails

2020-11-24 Thread Jens Breitenbach
https://bugs.kde.org/show_bug.cgi?id=429608

--- Comment #2 from Jens Breitenbach  ---
(In reply to Albert Astals Cid from comment #1)
> is your /tmp misconfigured?

its settings in ls -l are:
drwxrwxrwt  24 root root   61440 Nov 25 00:30 tmp

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

[okular] [Bug 429608] New: Printing, saving, and preview of pdf file fails

2020-11-24 Thread Jens Breitenbach
https://bugs.kde.org/show_bug.cgi?id=429608

Bug ID: 429608
   Summary: Printing, saving, and preview of pdf file fails
   Product: okular
   Version: 1.9.3
  Platform: Ubuntu Packages
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: printing
  Assignee: okular-de...@kde.org
  Reporter: jens.breitenbach.hattersh...@web.de
  Target Milestone: ---

SUMMARY
I try to print a pdf file from okular, but nothing happens. When starting
okular from the command line some weird behaviour occurs (did not happen under
Kubuntu 18.04)

STEPS TO REPRODUCE
1. run konsole and type okular mypdf.pdf
2. select "print preview". You get the following error message printed in
konsole window: notify_add_watch(/tmp/okular_xkGczc.ps) failed: (Permission
denied)
3. select "print" from the menu. konsole output shows error message (translated
from German): /usr/bin/lpr: Error - No access to "/tmp/okular_FfOYzt.ps" -
permission denied
4. When trying to save the opened file the error message appears in a window in
okular, saying the file cannot be saved to /tmp/okular_whatever, even if I
specify a file name in my home directory.
5. listing directory /tmp shows 
$ls -l /tmp
...
-- 1 user user 485826 Nov 24 22:55 okular_FfOYzt.ps
...
The file in question cannot be accessed since it has chmod 000.

OBSERVED RESULT
Cannot print

EXPECTED RESULT
Can print

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 20.04 
(available in About System)
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8

ADDITIONAL INFORMATION

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