[Libreoffice-bugs] [Bug 125048] New: Saved file has wrong group if calc file contains a chart. (Truly bizarre ...)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Apr 30 15:15:27 UTC 2019


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

            Bug ID: 125048
           Summary: Saved file has wrong group if calc file contains a
                    chart. (Truly bizarre ...)
           Product: LibreOffice
           Version: 6.1.5.2 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: nigel.arnot at silson.com

Created attachment 151094
  --> https://bugs.documentfoundation.org/attachment.cgi?id=151094&action=edit
The spreadsheet "nobug.ods" which is used at the start of the bug report
description

This is a truly bizarre bug that I've spent a lot of time diagnosing and
reducing to a simple case. This description is quite long. Please bear with me.

You need an unusual folder on an NFS share. Here, we have a group called
"silson". My username is "nigel". The folder has the group sticky bit set, so
that files are created with group silson and everybody in  that group shares
write access. Here is the set-up for folder "test". I don't think the acls are
relevant, but included just in case. 

[root at hermes Silson Library]# ls -ld test
drwxrwsr-x+ 2 nigel silson 4096 Apr 30 15:29 test
[root at hermes Silson Library]# getfacl test
# file: test
# owner: nigel
# group: silson
user::rwx
group::rwx
mask::rwx
other::r-x
default:user::rwx
default:group::rwx
default:mask::rwx
default:other::r-x

Now, open the attached file and save it into this folder with libreoffice calc,
as "nobug"

Now, insert a chart. Select A1:B8. Insert|Chart. X-Y scatter, Points & Lines,
Finish. Save as "bug"

Click on the chart and press backspace to delete it. Save as "fixedbug"

The file protections are:

ls test/* -l
-rw-rw-r--+ 1 nigel nigel  14994 Apr 30 15:37 test/bug.ods
-rw-rw-r--+ 1 nigel silson  9050 Apr 30 15:38 test/fixedbug.ods
-rw-rw-r--+ 1 nigel silson  9056 Apr 30 15:34 test/nobug.ods

It's the presence of a chart that makes the file get saved with group=nigel
instead of group=silson. It can be a chart hidden away on a different
work-sheet that nobody ever looks at ....

The bug was not present in the libreoffice shipped with Fedora 27:
5.4.7.2-3.fc27.x86_64. It appeared after upgrading to Fedora 29,
6.1.5.2-5.fc29.x86_64

-- 
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/20190430/d19a2861/attachment-0001.html>


More information about the Libreoffice-bugs mailing list