Index: [Article Count Order] [Thread]

Date:  Wed, 30 Jul 2008 21:40:53 +0200
From:  "thomas" <tfj-online (at mark) mail.tele.dk>
Subject:  [coba-e:13640] Re: apache suexec
To:  <coba-e (at mark) bluequartz.org>
Message-Id:  <096b01c8f27c$2d8497f0$967da8c0@thomasferrari>
References:  <20080730184704.28f7c834 (at mark) mail4.iweb.dk> <094b01c8f277$f69be120$967da8c0 (at mark) thomasferrari>
X-Mail-Count: 13640

Hi Rene, and all

I'm not totaly sure but I think I got it working. I'll just run some more 
tests and see if it will work on a production server also and test different 
permissionsets 777 755 ...

Get right back...

--
Thomas Jensen

----- Original Message ----- 
From: "thomas" <tfj-online (at mark) mail.tele.dk>
To: <coba-e (at mark) bluequartz.org>
Sent: Wednesday, July 30, 2008 9:10 PM
Subject: [coba-e:13639] Re: apache suexec


> Hi Rene
>
> Just tried et out. It still uploaded and saved the file as apache:apache ?
>
> ---------------------------------------
> Thomas Jensen
> ---------------------------------------
>
> ----- Original Message ----- 
> From: "René MÍsted" <molsted (at mark) iweb.dk>
> To: <coba-e (at mark) bluequartz.org>
> Sent: Wednesday, July 30, 2008 8:47 PM
> Subject: [coba-e:13638] Re: apache suexec
>
>
>>> Hi All Blues,
>>>
>>> Has anyone successfully managed to run apache with suexec, so that the
>>> settings on files uploaded and created within php are owned by the site
>>> admin for the individual sites on the system.
>>>
>>> Now they always are owned by
>>> apache:apache
>>>
>>> It should be possible to make apache/php save files so that they are 
>>> owned
>>> by
>>> someadminuser:site29
>>>
>>> Any pointers would be greatly appreciated :)
>>
>>
>> Hi Thomas
>> I suppose you could use the include-files automatically created.
>> Try this (not tested, though)
>>
>> Insert in /etc/httpd/conf/vhosts/site29.include:
>> SuexecUserGroup someadminuser site29
>>
>> Restart httpd:
>> /etc/init.d/httpd restart
>>
>>
>> -- 
>> Rene
>>
>>
>
>
>