Hi list,

I want to use ACLs to enable the group "wiss" to delete all files that a
lab user has created in his home directory "/export/homes/lab/a1".
I set up ACLs as follows:

[EMAIL PROTECTED] [/export/homes/lab] # getfacl a1
#file:a1
#owner:624
#group:1022
user::rwx
group::---
group:wiss:rwx
mask::rwx
other::---
[EMAIL PROTECTED] [/export/homes/lab] # getfacl -d a1
#file:a1
#owner:624
#group:1022
user::rwx
group::---
group:wiss:rwx
mask::rwx
other::---

Now we create a directory in ~a1:

[EMAIL PROTECTED] [/export/homes/lab] # cd a1
[EMAIL PROTECTED] [/export/homes/lab/a1] # mkdir d
[EMAIL PROTECTED] [/export/homes/lab/a1] # getfacl d
#file:d
#owner:0
#group:1022
user::rwx
group::---
group:wiss:rwx          # effective: r-x
mask::r-x
other::---

The mask has not been inherited from the upper level directory!

The next directory has been created by the user extracting a tar ball:

[EMAIL PROTECTED] [/export/homes/lab/a1] # getfacl STonX-0.6.5/
#file:STonX-0.6.5/
#owner:624
#group:1022
user::rwx
group::---
group:wiss:rwx          # effective: --x
mask::--x
other::---

In this case, the "wiss" group can not even read the directory.

So, my idea to enable the wiss group to manage the lab user's files does
not seem to work.

Am i doing something wrong here? Why is the mask not propagated?
Any hint would be greately appreciated.

I am using 5.4-RELEASE-p7, the filesystem is UFS2.
-- 

Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -

Phone : +49/421/218-4664
Fax   :            -3341
_______________________________________________
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