D'oh! I didn't see your note about the "s" below.

I'm afraid that this didn't work either. I performed all of the commands below, then did the following:

# su john
# source ~/.profile
# touch zzzztestfile
# ls -l zzzztestfile

What I saw was:

-rwxr--r-- 1 john staff 152 Jul 30 08:14 zzzztestfile

The staff group is proper, but the permissions are wrong. Still.


At 07:11 AM 7/30/2003 -0700, you wrote:
chgrp -R webgroup /var/web
chmod 775 /var/web
chmod g+s /var/web
find /var/web -type d -exec chmod 775 {} \;
find /var/web -type d -exec chmod g+s {} \;

Then, in each users' .profile, add:
umask 002

The additional 'chmod' should set the setgid bit for each directory.
The umask will force new files to be created with 'g+w', which is what
you want.

_______________________________________________ Solaris-Users mailing list [EMAIL PROTECTED] http://www.filibeto.org/mailman/listinfo/solaris-users

Reply via email to