On Wed, 29 Nov 2000, Jonathan Wilson wrote:
> Any ideas? The point is to make everything created in the /work dir
> automatically have g+rwx.
It's a umask problem. You'll probably need to set up a cron job such as
the following:
* * * * * find /work ! -type d -exec chmod 664 \{\} \;
* * * * * find /work -type d -exec chmod 775 \{\} \;
to recursively set the correct permissions. Note that if you don't have
subdirectories (which require the execute bit set), you can just do:
chmod g+rw /work/*
Using a recursive chmod will unfortunately unset the execute bit on
directories, or perhaps set the execute bit on files which should be
executable. Find gives you much more flexibility.
--
Todd A. Jacobs
Senior Network Consultant
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list