NFS filesystem ownership inheritance.
I have an NFS share, used by many users I need files created by these users to inherit ownership from their parent directory.
For example. If ownership on /mnt/nfs is set to user:group if bob puts a file in /mnt/nfs/bob/whatever I need bob's file to automatically end up with ownership of user:group, rather than bob:bob. Any way to accomplish this? Thanks! |
Linux doesn't allow suid directories. Guid directories will change the group ownership. You can add a default ACL for a directory. Otherwise, AFAIK, you would need to modify the ownership with a program or service. Perhaps a cronjob that uses find to locate files not matching your ownership requirements or a service that uses inotify to monitor filesystems.
|
All times are GMT -5. The time now is 09:01 PM. |