I've had some trouble with ACL's. I am new to them and relatively unfamiliar. Tutorials and guides make it look like a one command hassle-free process. For me, this was not the case. Any time that I try so give a user or group new permissions for a file, seemingly unrelated real permissions are changed.
For Example:
I felt that I must be missing something both essential and basic. After looking around for a while, I still couldn't find any guides that even touched on ACLs except to teach the basic setfacl, getfacl (and without addressing their affects on real permissions). So, disregarding any fears of being labeled noobish or ignorant (neither entirely inaccurate), I headed down to the FreeBSD Forums! Thank ye kindly!
For Example:
Code:
$ touch example
$ ll example
-rw-r--r-- 1 tim tim - 0 Nov 20 10:07 example
$ getfacl example
# file: example
# owner: tim
# group: tim
user::rw-
group::r--
other::r--
$ setfacl -m u:peter:rw example
$ getfacl example
# file: example
# owner: tim
# group: tim
user::rw-
user:peter:rw-
group::r--
mask::rw-
other::r--
$ ll example # Everything from getfacl looks ok, but why the change to group?
-rw-rw-r--+ 1 tim tim - 0 Nov 20 10:07 example
I felt that I must be missing something both essential and basic. After looking around for a while, I still couldn't find any guides that even touched on ACLs except to teach the basic setfacl, getfacl (and without addressing their affects on real permissions). So, disregarding any fears of being labeled noobish or ignorant (neither entirely inaccurate), I headed down to the FreeBSD Forums! Thank ye kindly!
