https://bugs.documentfoundation.org/show_bug.cgi?id=119050

            Bug ID: 119050
           Summary: Second Export To PDF Does Not Honor Umask
           Product: LibreOffice
           Version: 6.1.0.2 rc
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: [email protected]
          Reporter: [email protected]

This is a regression that happened sometime between 6.0 and 6.1.   When you
export to PDF a second time and write over the top of a previous file, the
permissions are set to 600 on Linux.   When you initially create the PDF, it's
using the correct permissions (in our case 666).

Replication is super easy;

1) Open Writer, and type in a few words

2) Select File > Export As > Export as PDF

3) Create a file called sample.pdf and everything works:

drichard@desktopnxcloud:/home/largo/tmp$ ls -lad sample.pdf
-rw-rw-rw- 1 drichard drichard 7615 Aug  1 15:12 sample.pdf

4) Follow step #3 again and try and write over the same file.  It will ask if
you want to replace it, select [ YES ]

The file that is created is now 600:

drichard@desktopnxcloud:/home/largo/tmp$ ls -lad sample.pdf
-rw------- 1 drichard drichard 7615 Aug  1 15:13 sample.pdf

This file cannot be opened by other users, and will be a showstopper for us. 
We use this feature all the time and users share these files with one another.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to