hello,

This applies to FreeBSD 5.3 Release:

I've followed the examples on setting up default acl's located at this website:

'Working With ACLs in FreeBSD 5.x'
http://ezine.daemonnews.org/200310/acl.html

I'm having problems with this:

% umask 027
% mkdir dir

setfacl -m u::rwx,m::rwx,g::rx,o::rx dir
setfacl -dm u::rwx,m::rwx,g::rx,o::rx dir

setfacl -dm u:gregory:rwx,m::rwx dir

% touch dir/file.txt
% getfacl dir/file.txt 

#file:dir/file.txt
#owner:1009
#group:0
user::rw-
user:gregory:rwx        # effective: r--
group::r-x              # effective: r--
mask::r--
other::---

when i attempt to write to file.txt as user gregory, I get permission
denied - I can see that this is what I should expect because the mask
is r--, but why? I've set rwx above? I saw a similar post on this
list, and it is mentions that the file will be masked with umask. am I
suppose to change my umask ? if so, why? why can't I set acl's to
simply apply the default acl which I've set on the dir to any
dirs/files created in that directory regardless of umask?

Any help would be appreciated,

Regards,

Paul
Manchester, UK
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to