[Mailman-Users] [install] set-gid bit
Peter Schnitzler
peter at schnitzlers.de
Thu May 26 15:00:45 CEST 2005
Am 25.05.2005 um 16:13 schrieb dave at umiacs.umd.edu:
> 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?
>
> I suspect you may have probs with this if you don't have root on
> the machine
> which may be the initial problem. Can you
>
> chgrp mailman /home/sites/www.afser.de/users/portal/mailman
> chmod 2755 /home/sites/www.afser.de/users/portal/mailman
>
> If you can't do this, then you don't have enough privs to install it.
>
> =-=-=-=-=-=-=-=-=-=- generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=
> David Stern University of Maryland
> Institute for Advanced Computer Studies
>
>
More information about the Mailman-Users
mailing list