You are not logged in.

#1 2007-09-27 04:31:39

nv
Member
Registered: 2006-10-24
Posts: 39

using access control lists

Hi everyone,

I would like to set up a folder, so that a second user 'foo' can access this single folder as well.

As I have read about ACL before, I googled around, and basically found the following procedure, which fails:

$ mkdir test
$ getfacl test
# file: test
# owner: nv
# group: users
user::rwx
group::r-x
other::r-x
$ setfacl -m foo:rw test
setfacl: test: Operation not supported

Do I have to enable ACL somehow (maybe in the filesystem) ?

Offline

#2 2007-09-27 04:38:23

skymt
Member
Registered: 2006-11-27
Posts: 443

Re: using access control lists

You need to enable the ACL system as a mount option. Edit /etc/fstab and add the "acl" option to any filesystem you want to use ACLs on.

Offline

#3 2007-09-27 04:43:26

nv
Member
Registered: 2006-10-24
Posts: 39

Re: using access control lists

Soooo easy..

Thanks for the solution, it works perfect now.

Offline

#4 2007-09-28 08:02:28

zenlord
Member
From: Belgium
Registered: 2006-05-24
Posts: 1,229
Website

Re: using access control lists

Hi there,

ACLs look very interesting. Do you have some interesting links to read up about it? THX!

Zl.

Offline

Board footer

Powered by FluxBB