[okular] [Bug 445803] New: Doesn't honor the umask while saving xml FILE in .local/share/okular/docdata/

Enzo bugzilla_noreply at kde.org
Sat Nov 20 11:56:19 GMT 2021


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

            Bug ID: 445803
           Summary: Doesn't honor the umask while saving xml FILE in
                    .local/share/okular/docdata/
           Product: okular
           Version: 21.08.3
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: okular-devel at kde.org
          Reporter: vincenzo.romano at notorand.it
  Target Milestone: ---

SUMMARY
***
No matter what umask is set, XML files are saved with 0644 permissions.
***


STEPS TO REPRODUCE
1.  Setup umask at, say, 0077 (no permissions for G and O).
2.  Open a document with ocular and browse it.
3.  Check file permissions in  .local/share/okular/docdata/ for the file named
after the browsed document

OBSERVED RESULT
XML file has permissions 0644

EXPECTED RESULT
XML file permissions should obey umask (0600 in the example case)

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list