[Libreoffice-bugs] [Bug 119559] New: Writing documents disobey systemwide umask
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Tue Aug 28 09:16:23 UTC 2018
https://bugs.documentfoundation.org/show_bug.cgi?id=119559
Bug ID: 119559
Summary: Writing documents disobey systemwide umask
Product: LibreOffice
Version: 6.1.0.3 release
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: juergen.sauer at automatix.de
Description:
Creating a new document or saving an modified existing one, the created file is
created with wrong file permissions.
All files are created as user rw only. Before existing group rw flags are
disapearing.
Steps to Reproduce:
1. open a file odt or other libreoffice document, in our case on NFS Share and
set up group sticky bit above the curren dir
[jojo at pc6 O-20180828-010]$ umask
0002
[jojo at pc6 O-20180828-010]$ ls -la
drwxrwxr-x 1 leander firma 206 28. Aug 11:09 ./
drwxrwxr-x 1 leander firma 54 28. Aug 10:33 ../
-rw-rw---- 1 jojo firma 404180 28. Aug 11:03 'O-20180828-010.odt'
2. edit and save
[jojo at pc6 O-20180828-010 Servertausch]$ /usr/lib/libreoffice/program/swriter
'O-20180828-010.odt'
[jojo at pc6 O-20180828-010 Servertausch]$ ls -la
-rw------- 1 jojo firma 404180 28. Aug 11:09 'O-20180828-010.odt'
3. permissions of the freshly edited file are forgotten and set to user only.
Actual Results:
[jojo at pc6 O-20180828-010 Servertausch]$ /usr/lib/libreoffice/program/swriter
'O-20180828-010.odt'
[jojo at pc6 O-20180828-010 Servertausch]$ ls -la
-rw------- 1 jojo firma 404180 28. Aug 11:09 'O-20180828-010.odt'
Expected Results:
[jojo at pc6 O-20180828-010 Servertausch]$ /usr/lib/libreoffice/program/swriter
'O-20180828-010.odt'
[jojo at pc6 O-20180828-010 Servertausch]$ ls -la
-rw-rw---- 1 jojo firma 404180 28. Aug 11:09 'O-20180828-010.odt'
Reproducible: Always
User Profile Reset: Yes
Additional Info:
crreating the odt file using the correct umask, with group read and write
permission
Version: 6.1.0.3
Build-ID: 6.1.0-2
CPU-Threads: 8; BS: Linux 4.18; UI-Render: Standard; VCL: gtk3_kde5;
Gebietsschema: de-DE (de_DE.UTF-8); Calc: threaded
--
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/20180828/5ecabfdd/attachment-0001.html>
More information about the Libreoffice-bugs
mailing list