Forums | MacLife
You are not logged in.
#1 2006-02-24 9:20 pm
- loafer
- Member

- Registered: 2000-11-10
- Posts: 271
getting regular users to access a file in the /Library folder
For Unix geeks and others
I would like to be able to let non-admin users alter one file in the Desktop Pictures folder. I can change permissions on that file but the non-admin users still can't change that file because they have read-only privileges on the folder (and the /Library folder). Is there any way to allow the non-admins to alter the file without giving them full read-write access to the /Library and Desktop Pictures folders?
Last edited by loafer (2006-02-24 9:21 pm)
Offline
#2 2006-02-24 10:06 pm
- ElectricSheep
- Member
- Registered: 2003-07-20
- Posts: 109
Re: getting regular users to access a file in the /Library folder
You can do it with ACLs in MacOS X 10.4. See the manpage for chmod for how to set ACLs on files/directories. You will have to enable ACL support with fsaclctl -p / -e.
Offline
#3 2006-02-25 9:26 am
- loafer
- Member

- Registered: 2000-11-10
- Posts: 271
Re: getting regular users to access a file in the /Library folder
OK, I'm working on the translation of this
ACL = access control list
See the manpage for chmod = man chmod
Now I am much closer
I can create ACLs (ACEs) for the Desktop Pictures directory that allows the non-admins to change the file but they still can delete other files and folders in that directory even though they can't change them (they also can add files to the folder).
Offline
#4 2006-03-07 12:48 pm
- MattElmore
- Member

- From: Tuscaloosa, AL
- Registered: 2003-02-28
- Posts: 1778
- Website
Re: getting regular users to access a file in the /Library folder
easy answer:
set the folder you want to be owned by the same group as all users on the system (probably 'users') and chmod 775 the folder
Offline
