Stefán István wrote: > Okay, I think I have to use acl. I've read its documentation, and set up the > following acl's: > > setfacl -m d:u::rw /home/stefi/kepek/ > setfacl -m d:g::rw /home/stefi/kepek/ > setfacl -m d:o::r /home/stefi/kepek/ > > Now, if I create a file in this directory, it's permission will be 664 > instead > of the default 644. That's very good. > But if I create a directory it's permissons also will be 664. But I want it > to > be 775. How can I achive this?
Use the following: setfacl -m d:u::rwx,d:g::rwx,d:o::rx /home/stefi/kepek/ i.e. also give it a default execute permission. -- Remy Remove underscore and suffix in reply address for a timely response. -- gentoo-user@gentoo.org mailing list