[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

default acl on directory problem



hi,
i am using xfs enabled kernel 2.4.16 and tools. acl seems to work
properly, except me having a hard time setting correct default acls on a
directory. 

after setting acls on a directory (chacl and setfacl) it looks like
this:

# file: .
# owner: cvs
# group: cvs-misc
user::rwx
group::rwx
other::---
mask::rwx
group:cvs-misc:rwx
default:user::rwx
default:group::rwx
default:other::---
default:mask::rwx
default:group:cvs-misc:rwx

this seems to work for all users in the cvs-misc group. when a create a
file as user all other users of cvs-misc have read and write
permissions. when i create a directory as another user (not cvs) i get
something like the following:

# file: .
# owner: [otheruser]
# group: [otherprimarygroup]
user::rwx
group::rwx			#effective:r-x
other::---
mask::r-x
group:cvs-misc:rwx		#effective:r-x
default:user::rwx
default:group::rwx
default:other::---
default:mask::rwx
default:group:cvs-misc:rwx

why do i have effective r-x permissions for group access? shouldn't it
be rwx, or am i missing something?

if someone has an idea.

thank you,
thomas