Re: Setting directory permissions

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

 



acl does exist on Redhat, but it does not work completely.
I could change the acl recursively on current files in a directory, but I
could not set up a default acl which would apply to all files
that would be created in the folder in the future.


setfacl, getfacl and chacl are the commands.

On Monday, February 9, 2004, at 04:09 PM, John Haxby wrote:

Margaret_Doll wrote:

Unless I am using "umask"  incorrectly, it seems to change the
default file permissions for the user and not the directory.

su - user1
umask 007
touch testfile

creates testfile with the permissions "rw-rw----" no matter  where
user1 creates the file.

You are using umask correctly. As you probably know umask is a property of the process and not of a directory.



I want the action limited to a directory.


I do have acl installed on my system. I am looking for documentation.


Good luck! You might find something in /usr/src/linux-2.4/Documentation.



On Monday, February 9, 2004, at 01:01 PM, Ajai Khattri wrote:

On Mon, 9 Feb 2004, Margaret_Doll wrote:

I should have stated that I am using RedHat 9, upgraded to 2.4.20-24.9.

I believe I am looking for the file permissions that one can use on
Novell systems
or the ACL capabilities that VMS has.




-- Shrike-list mailing list Shrike-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/shrike-list



--
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux