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.
I want the action limited to a directory.
I do have acl installed on my system. I am looking for 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.
man umask
On Monday, February 9, 2004, at 11:43 AM, Margaret_Doll wrote:
In general I want the user to be the only one to have rwx permissions on a directory and the files in the directory.
However, there are some directories to which I want the group and owner to have rwx permissions. I find that as a member of the group add files to the "group" directory, the permissions are not set for the group to write or execute these files.
How do I change the default permission setup on a few directories?
As is
4 drwxrwx--- 3 user1 jointgroup 4096 Feb 9 11:03 . 4 drwx--x--- 3 user1 jointgroup 4096 Feb 9 11:03 .. 0 -rw-r--r-- 1 user2 jointgroup 0 Feb 9 11:01 newfile
I want
4 drwxrwx--- 3 user1 jointgroup 4096 Feb 9 11:03 . 4 drwx--x--- 3 user1 jointgroup 4096 Feb 9 11:03 .. 0 -rwxrwx--- 1 user2 jointgroup 0 Feb 9 11:01 newfile
-- Shrike-list mailing list Shrike-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/shrike-list
-- Aj. Sys. Admin / Developer
-- 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