Setting directory permissions

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

 



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

[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