> IIRC, 'chmod 2775 $foo' should set the following bits on a directory: > > drwxrwsr-x 2 luser users 512 Jul 2 09:18 foo > >However, when I run the command on our new fileserver (a Solaris 8 >box), I only get the following: > > drwxrwxr-x 2 luser users 512 Jul 2 09:18 foo > > After that, I have to manually 'chmod g+s' to get the sticky bit set. > Is this normal behavior, or am I doing something wrong? > After being properly hit over the head with the man page of chmod(1), the following passage came to light: Note that the setgid bit cannot be set (or cleared) in abso- lute mode; it must be set (or cleared) in symbolic mode using g+s (or g-s). Thanks to Dan, Dave, and Brett for a quick and LARTful response. -- Don Werve <donw@examen.com> (Unix System Administrator) Yorn desh born, der ritt de gitt der gue, Orn desh, dee born desh, de umn bork! bork! bork! _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagersReceived on Tue Jul 2 13:21:27 2002
This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:48 EST