Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm a bit of a beginner with Unix systems, but I'm running Cygwin on my Windows Server, and I am trying to figure out something related to extended ACLs.

I have a directory to which I set the following ACLs:

Administrator@MyServer ~
$ setfacl -m d:u:Someuser:r-- somedir

Administrator@MyServer ~
$ getfacl somedir/
# file: somedir/
# owner: Administrator
# group: None
user::rwx
group::r-x
mask:rwx
other:r-x
default:user::rwx
default:user:Someuser:r--
default:group::r-x
default:mask:rwx
default:other:r-x

As you can see mose of the default ACLs have the x bit. Then when I create a fine in it, it doesn't inherit the ACLs it is supposed to:

Administrator@MyServer ~
$ touch somedir/somefile

Administrator@MyServer ~
$ getfacl somedir/somefile
# file: somedir/somefile
# owner: Administrator
# group: None
user::rw-
user:Someuser:r--
group::r--
mask:rwx
other:r--

It's basically missing the x bit everywhere.

Any idea why?

share|improve this question
add comment

1 Answer 1

up vote 0 down vote accepted

Doc in http://cygwin.com/cygwin-ug-net/using-utils.html#setfacl says :

Limitations: Under Cygwin, the default ACL entries are not taken into account currently.

Note that somedir/somefile is also missing the default ACLs which it should have inherited.

share|improve this answer
    
Files don't get default ACLs. –  Flavien Jun 26 '12 at 12:05
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.