Issue 31890

Summary: file system ACLs are ignored when opening files
Product: General Reporter: mbunkus <m.bunkus>
Component: uiAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: darabos.daniel, issues, mail.twerner, pavel
Version: OOo 1.1.2   
Target Milestone: AOO Later   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Latest Confirmation in: ---
Developer Difficulty: ---

Description mbunkus 2004-07-22 08:57:27 UTC
Our company uses file system ACLs on a XFS file system and over NFS with the 
appropriate nfs-acl patches. However, ignores the ACLs when 
opening files and only looks at the traditional Unix file permissions to figure 
out if a file can only be opened in read-only mode. Here's an example:

0 mbunkus@ls-bs-ws6:~$ ls -l helloworld.sxw 
-rw-rw-r--+   1 root     root         5127 Jul 22 09:44 helloworld.sxw
0 mbunkus@ls-bs-ws6:~$ getfacl helloworld.sxw 
# file: helloworld.sxw
# owner: root
# group: root

This file is opened in read-only mode although the user mbunkus has write 
access. This can be verified with a simple 'echo 1 > helloworld.sxw' (after 
making a backup, of course).

Using 'chmod o+w' on the file causes to open it in read/write 

This issue severly limits OOo's usability in multi user environments.
Comment 1 pavel 2004-07-22 10:12:44 UTC
Comment 2 thorsten.martens 2004-07-27 10:00:52 UTC
TM->BH: Due to the fact that OOo isn´t (and has never been) able to handle ACL´s
correctly, I changed this to enhancement. Please have a look, thanks ! 
Comment 3 mbunkus 2004-07-27 10:12:25 UTC
I'm sorry, but I disagree. The point is not that OOo should be able to _handle_ 
ACLs. The point is that OOo _thinks_ that it may not write a file and enters 
read only mode while it actually _may_ write it. If it would just try to open th 
e file for writing it would see that this is indeed possible. We users using 
ACLs would be happy, OOo wouldn't have to handle ACLs.
Comment 4 bollin 2009-03-16 09:10:08 UTC
I think this is the same problem as in Bug #96918 and this is a major issue.
Comment 5 bettina.haberer 2010-05-21 15:08:39 UTC
To grep the issues easier via "requirements" I put the issues currently lying on
my owner to the owner "requirements".