tookey
October 9th, 2009, 11:01 AM
So I have a server that is installed with Ubuntu 9.09. I am using this machine as an ssh, samba, file server.
I have created a filesystem /data and in there several department directories. Each directory is owned by the department groups that I have created, and all is working well. Where I am running into a problem is when I want to use ACLs to give permission to one or two people that are not in the group that owns the file or directory.
IE... The accouting group is owned by root:accounting
drwxxrwxr-x+ 13 root accounting accounting
Now there is a file under accounting (accounting/test.txt) that I want to add Kate RW access to so I use
setfacl -m u:kate:rw test.txt
when I check I see
# getfacl test.txt
# file: test.txt
# owner: root
# group: accounting
user::rwx
user:kate:rw
group::rwx
mask::rwx
other::rx
Now when I open this file with Kate I cannot save it. The only way to make this work is the add rw to other which completely negates what I want to accomplish.
Anyone got any ideas?
I have created a filesystem /data and in there several department directories. Each directory is owned by the department groups that I have created, and all is working well. Where I am running into a problem is when I want to use ACLs to give permission to one or two people that are not in the group that owns the file or directory.
IE... The accouting group is owned by root:accounting
drwxxrwxr-x+ 13 root accounting accounting
Now there is a file under accounting (accounting/test.txt) that I want to add Kate RW access to so I use
setfacl -m u:kate:rw test.txt
when I check I see
# getfacl test.txt
# file: test.txt
# owner: root
# group: accounting
user::rwx
user:kate:rw
group::rwx
mask::rwx
other::rx
Now when I open this file with Kate I cannot save it. The only way to make this work is the add rw to other which completely negates what I want to accomplish.
Anyone got any ideas?