This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Permissions, again


> chmod, and other POSIX programs know nothing about ACLs (which is where
> inheritance is specified).  You should, however, be able to use
> "getfacl/setfacl" to do what you want.

Hm...  It seems that (get|set)facl do allow detailed permissions to be
set, but what I really need is the inherited
property/attribute/whatever to be set, as these files need to have
permissions matching those of their final destinations.  It's okay to
tell me "Don't be absurd!" but I haven't heard it yet :-)
Incidentally, while I was using the ntsec default for permissions,
all this stuff worked correctly...

Also, with umask set to 077, a file I create with "touch" will end up
with NT permissions for read and write, but not execute, as well as
numerous other types of permissions.

-- 
Christopher Benson-Manica
ataru(at)sdf.lonestar.org

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]