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

  • 1
    How are the files being written? Locally? Or via samba or nfs? – Grant Aug 27 '13 at 13:49
  • Both - plus Helios - a third-party app for Macs to connect – user739866 Aug 27 '13 at 16:02

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.