Forum Moderators: bakedjake

Message Too Old, No Replies

Setting the 'umask' for only part of the filesystem

Can it be done?

         

bluedalmatian

9:12 pm on Apr 12, 2005 (gmt 0)

10+ Year Member



Is there a way to set the default user-owner, group-owner and rwx permissions for a particular sub-dir and all its sub-dirs and files, so that these settings will instantly apply to any new files or directories created below them?

At present the only way I can see of doing it is having a cronjob periodically run chown -R, chgrp -R & chmod -R which isn't ideal.

Thanks