When you chmod your parent directory, assuming your allowing read/write/execute
chmod 2777 {folder}:Forces inheritance of the GID (group ID) from the parent object: See "setgid" man page
chmod 4777 {folder}: Forces inheritance of the UID (user ID) from the parent object See "setuid" man page
chmod 6777 {folder}: Forces inheritance of both the UID and GID from the parent object:
Learn to love your sticky bit and you can go forth and rule your domain! Google "Sticky Bit" if you're unfamiliar with the phrase.
Last edited by dijetlo; 11-10-2014 at 10:01 AM.
Reason: More helpful
|