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

            Bug ID: 158975
           Summary: FILESAVE Save to a Samba share changes file owner
           Product: LibreOffice
           Version: 6.1.0.3 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: bibisected, regression
          Severity: normal
          Priority: medium
         Component: framework
          Assignee: [email protected]
          Reporter: [email protected]
            Blocks: 104742

I have a shared folder on my Linux host, and a VM Windows.
When I modify an existing file in the Linux shared folder from the Windows VM
with LO, the files owner is changed as well.

1. Have a shared file on a Samba share
2. Open it from another machine with LO
3. Save it after a small change
-> the owner is changed to the Windows user

For an example, before I had this (jakab is a dummy user, since my user name is
gabor both on the host and guest):

gabor@shuttle:~/thinclient_drives/perm-test-windows$ ll
összesen 28
drwxrwxrwx  2 gabor gabor  4096 jan    2 15:17 ./
drwxrwxrwt 49 gabor gabor 12288 jan    2 15:15 ../
-rw-rw-rw-  1 jakab jakab 11345 jan    2 15:17 test.ods

After overwriting the test.ods from Windows the owner is changed:

gabor@shuttle:~/thinclient_drives/perm-test-windows$ ll ; echo "after save"
összesen 28
drwxrwxrwx  2 gabor gabor  4096 jan    2 15:19 ./
drwxrwxrwt 49 gabor gabor 12288 jan    2 15:15 ../
-rw-rw-rw-  1 gabor gabor 11359 jan    2 15:19 test.ods
after save

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 78027c68397f26aec9051b82388cd7452ec66e3d
CPU threads: 15; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: de-DE
Calc: threaded

Seems to have started in 6.1 with:
https://git.libreoffice.org/core/+/27938e1bbd5f3405c47b9933be7489eeb03920f3

author  Miklos Vajna <[email protected]>  Wed Jan 17 18:11:41 2018 +0100
committer       Julien Nabet <[email protected]>      Thu Jan 18 07:12:42
2018 +0100

sfx2 store: create temp files next to local files (storage case)


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=104742
[Bug 104742] [META] Network-involved bugs
-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to