Issue 31890 - file system ACLs are ignored when opening files
Summary: file system ACLs are ignored when opening files
Status: CONFIRMED
Alias: None
Product: General
Classification: Code
Component: ui (show other issues)
Version: OOo 1.1.2
Hardware: All All
: P3 Trivial with 1 vote (vote)
Target Milestone: AOO Later
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-22 08:57 UTC by mbunkus
Modified: 2013-02-07 22:42 UTC (History)
4 users (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
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, OpenOffice.org 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
user::rw-
user:mbunkus:rw-
group::rw-
mask::rw-
other::r--

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 OpenOffice.org to open it in read/write 
mode.

This issue severly limits OOo's usability in multi user environments.
Comment 1 pavel 2004-07-22 10:12:44 UTC
Confirmed.
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".