On Thu, 26 May 2005, Peter Schnitzler wrote: > > Am 25.05.2005 um 16:13 schrieb [EMAIL PROTECTED]: > >> On Wed, 25 May 2005, Peter Schnitzler wrote: >> >>> when i go there i get the following output: >>> >>> [portal mailman]$ df -k >>> Filesystem 1k-blocks Used Available Use% Mounted on >>> /dev/hda1 743371 679010 64361 92% / >>> /dev/hda3 198275 43625 154650 23% /var >>> /dev/hda4 17673711 2878405 14795306 17% /home >>> >>> So this says that it is not a NFS/automount problem? >>> >>> >> That's what it sounds like. To test, create a script with sgid and >> see if indeed it works eg >> echo "#!/bin/sh">/home/sites/mytest >> echo "touch /tmp/myfile">>/home/sites/mytest >> chgrp mailman /home/sites/mytest >> chmod 2755 /home/sites/mytest >> >> /home/sites/mytest >> >> and see if /tmp/myfile gets a group ownership of mailman > > > i get the following output: > > -rw-rw-r-- 1 portal root 0 May 26 14:57 myfile > > after I did: > > [portal portal]$ echo "#!/bin/sh">/home/sites/mytestecho "#!/bin/sh">/ > home/sites/mytest > [portal portal]$ > [portal portal]$ echo "/bin/sh">/home/sites/www.afser.de/users/portal/mytest > [portal portal]$ echo '#!/bin/sh'>/home/sites/www.afser.de/users/ > portal/mytest > [portal portal]$ echo "touch /tmp/myfile">>/home/sites/www.afser.de/ > users/portal/mytest > [portal portal]$ chgrp site76 /home/sites/www.afser.de/users/portal/mytest > [portal portal]$ > [portal portal]$ chmod 2755 /home/sites/www.afser.de/users/portal/mytest > [portal portal]$ /home/sites/www.afser.de/users/portal/mytest > > > So I guess it did not work? >
Since the above may have gotten munged in the translation, check that mytest looks something like this: rwxr-sr-x 1 portal site76 28 May 25 02:39 mytest* ie group ownership of site76 and the "s" in the group bits indicating sgid. If so, and the resultant output file, "myfile" does not have a group ownership of site76, then it looks like you can't sgid on your system for whatever reason (but not NFS/autofs as this is a local fs). Time to talk to your friendly sysadmin. =-=-=-=-=-=-=-=-=-=- generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-= David Stern University of Maryland Institute for Advanced Computer Studies ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp