[Libreoffice-bugs] [Bug 126211] New: Saving an existing file overwrites owner and file permissions

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Jul 3 13:39:28 UTC 2019


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

            Bug ID: 126211
           Summary: Saving an existing file overwrites owner and file
                    permissions
           Product: LibreOffice
           Version: 6.1.6.3 release
          Hardware: All
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: Cat65.Miranda at googlemail.com

Description:
If I change a file owned by another person, and save it,
1. the file will change ownership to me,
2. the file will loose all added individual permissions. It will only keep the
inherited permissions from the above folder(s).

This is not the expected usual windows behaviour and can have serious side
effects in professional use. E.g. if you get a inherited creator/owner
permission, you suddenly have full rights for the file when you before had only
the right to change the contents of the file. You can change permissions by
yourself when you should not.

Tried with writer and calc, LibreOffice still version 6.1.6.3.
Tried afterwards with LibreOffice 6.2.4, seemingly additional permissions are
kept now, but the owner changes still, the owner will get full rights if
inherited creator/owner permissions are present from the above folder, the
previous owner could probably get less, inherited permissions.
Before version 6 I had 5.2.5.1. So I reverted to 6.0.7.3, everything is okay
with it.

Perhaps the problem is somehow related to bug 125401.

Please fix it as soon as possible, especially in the still version.

Steps to Reproduce:
1. Create a file with inherited and manually permissions
2. Change the owner to someone else.
3. Edit the file and save it.
4. You will become owner and the file will keep only the inherited permissions.

Actual Results:
Original owner and permissions are overwritten.

Expected Results:
Owner and permissions should be kept.


Reproducible: Always


User Profile Reset: No



Additional Info:

-- 
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/20190703/ae672abf/attachment.html>


More information about the Libreoffice-bugs mailing list