Hello,
I'm trying to set up ACL's on some directories so that specific users
can read/write to some other specific users' directories. I have enabled
acl's dynamically a seen below:
# sysconfig -q sec
sec:
acl_mode = enable
I then attempted to set the ACL on a new directory as follows:
# mkdir foo
# chmod 640 foo
# chown bar foo
# chgrp users foo
# ls -l|grep foo
drw-r----- 2 bar users 8192 Jul 26 15:19 foo
# setacl -a -u user::rw-,group::r--,other::---,user:snafu:rw-
foo
# getacl foo
# file: foo
# owner: bar
# group: users
#
user::rw-
user:snafu:rw-
group::r--
other::---
#
# su - snafu
$ ls -l|grep foo
drw-r----- 2 bar users 8192 Jul 26 15:19 foo
$ touch foo/a.b
touch foo/a.b:Permission denied
touch: cannot change times on foo/a.b
$ ^d
#
I have tried the above setacl statement using the -a, -d, and -D options
separately, and all three at once, and I still can't get access to
directory foo as user snafu.
What am I missing? Is there a license required? Did I fail to install a
required module?
Any suggestions will be appreciated!
TIA
Ralf
Ralf Borowski
Senior Systems Specialist
Tembec Inc. - Pulp Group
Tel. (819) 627-4103
Fax. (819) 627-9908
rborowski_at_tembec.ca
Received on Fri Jul 26 2002 - 22:04:25 NZST