[Libreoffice-bugs] [Bug 119505] New: LibreOffice doesn' respect umask on overwriting

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Aug 26 08:58:58 UTC 2018


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

            Bug ID: 119505
           Summary: LibreOffice doesn' respect umask on overwriting
           Product: LibreOffice
           Version: 6.1.0.3 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: filters and storage
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: deant at bit-bg.com

Created attachment 144444
  --> https://bugs.documentfoundation.org/attachment.cgi?id=144444&action=edit
pdf showing the bug

Tested on debian/buster with LibreOffice_6.1.0_Linux_x86-64_deb.tar.gz

I have umask set to 0007. I want the files to be created with permission 660 on
my system.
1. I open libreoffice and create new spreadsheet. I save the spreadsheet and i
close libreoffice.
2.Checking with ls -la shows that the file has correct permission rw-rw----.
3.Opening the same file again and I am OVERWRITING it.
4.Cheking again with ls -la before we close the file. I noticed that the lock
file still has  rw-rw----, but the original file has been changed to rw-------.
5. Closing the file and again checking the permisions - ls -la - the lock file
is gone (as it should be), but the permissions of the original file are still
rw-rw----.

No idea which versions are affected, but this actualy stops my production and i
cannot find a workaround.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180826/bcbab84b/attachment-0001.html>


More information about the Libreoffice-bugs mailing list