2

I have a RHEL 5.5 server and want to set up some specific security for a directory:

Please note that I am not asking how to do this one time... that has already been done.

  1. I want all new directories created to have the sticky bit set so only the owner can delete the folder (I have already set it on all the existing folders but newly created ones do not inherit it - This is where the issue lies).
  2. I want the default owner of all subdirectories and files to be a specific user - no matter who creates it.

I've searched and haven't found an implementation that allows for this so maybe it just isn't possible without setting a cron to go in and change the permissions?

I have already used setfacl to give a default group the rwx permissions needed I have already set the Group ID (SGID) As mentioned, I have already set the sticky bit on existing folders

user739866
  • 203
  • 3
  • 8

0 Answers0