Damn, I'm always forgetting the setgid bits! Thank you! :-)
So now if I every have any users with permissions problems I can do the
following commands which should get things working again...
chgrp -R siteXX /home/sites/www.example.com/web
chmod -R ug+rw,o+r,o-w /home/sites/www.example.com/web
find /home/sites/www.example.com/web -type d -exec chmod g+s,ugo+x {} \;
... I think that covers it!? :-)
Dan
On 19/02/2008 08:45, Tom MÍler-Kortkamp was seen to type:
> I guess you need suid-bit and/or guid-bit on your Directories?¿
>
> Am 18.02.2008 um 22:27 schrieb Dogsbody:
>
>>
>> I first reported this a while back and this is really starting to bug
>> me now as sysadmins can no longer edit files in their own sites and
>> scripts can now modify files in other sites directories! This never
>> used to be possible with Cobalt or early BQ.
>>
>> I am tempted to write a cron job that runs through all the sites doing
>> a...
>> $ chgrp -R siteXX /home/.sites/*/siteXX/web
>> $ chmod -R ug+rw,o+r,o-w /home/.sites/*/siteXX/web
>> ... but that is not fixing the cause and is just a bandaid.
>>
>> Does anyone know where to fix this please?
>>
>> Dan
>>
>>
>> On 28/05/2007 17:43, Dogsbody was seen to type:
>>> I have just noticed this on a couple of sites, at first I thought I
>>> had done something but have just found it again! I am guessing that
>>> this broke with the recent 4.5 CentOS upgrade??
>>> It seems that when files are created by apache now they are created
>>> with both the owner and group as "apache" instead of being
>>> apache:site5 (or which ever site) as before. This means site admins
>>> can't access/change these files :-/
>>> Anyone know how to get apache working properly again??
>>> Dan
>>
>>
>
> --
> kommunity GmbH & Co.KG
> Goseriede 4, D-30159 Hannover
> ------------
> Phone +49 (0)5 11 - 80 72 58 - 0
> Fax +49 (0)5 11 - 80 72 58 - 10
> ------------
> Sitz der Gesellschaft: Hannover,
> Registergericht: Amtsgericht Hannover,
> Handelsregisternummer HRA 26721
>
>
> PersÏlich haftende Gesellschafterin:
> kommunity Verwaltungsgesellschaft mbH
> vertreten durch den GeschçÇtsfÉrer
> Tom MÍler-Kortkamp
> Sitz der Gesellschaft: Hannover,
> Registergericht: Amtsgericht Hannover,
> Registernummer HRB 60200
>
>
>
>
--
Personal : http://www.dogsbody.org/
Camberley Skaters : http://www.cskate.co.uk/
Dogsbody Hosting : http://www.dogsbodyhosting.net/
Goodwood Roller Marathon : http://www.goodwoodmarathon.co.uk/