Forcing User Permissions on a Directory (and all subdirectories and files in the dir)
I have a folder called 'main' for which I want to force the user 'joe' and group 'administrators' for all subdirectories and all files created inside it. (This is because I want all files created in the folder 'main' to be accessible by both the employee 'joe' and the 'administrators', regardless of who creates the file)
I have successfully used the SGID (set group ID) sticky bit to force the group 'administrators', but I have not found a way to force the user 'joe' on all files. SUID (set user ID) sticky bit does not work for this, as this is not part of the allowed functionality of SUID for a directory.
I have searched forums and sites for hours with no luck. Any help is appreciated!!