perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Schindl <lis...@bestsolution.at>
Subject Re: chown executed by the apache user
Date Fri, 04 Aug 2006 05:24:19 GMT
You could run the chown command using sudo if you are on *ix.

http://www.courtesan.com/sudo/sudo.html

Tom

Christian Hauser schrieb:
> Basel, Donnerstag, 3. August 2006, 07:51:47
> .....................................
> 
> *chown executed by the apache user*
> 
> 
> Hello Mod_Perl List
> 
> 
> I need to change the uid, 'chown' for a file via the apache-perl
> process.
> 
> People can work via FTP/WebDAV on files, but also via a Web Interface.
> For the web I have basic authentication, and of course when touching a
> file, it has the uid of the Apache process. As I use the FS to keep
> owner information, that's not what I want!
> 
> Afaik I can only 'chown' while being root. An to become root (what I
> wouldn't like, but would do if it would solve the problem) again I
> would need to be root. An of course I will never let the Apache
> running as root.
> 
> How would you solve that problem?
> 
> mod_perl 1.0, Apache 1.x
> 
> .....................................
> 
> Best Regards, Christian -  administrator@itassistance.ch  -
> 
> 
> 
> 
> 




Mime
View raw message