You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Christian <ad...@itassistance.ch> on 2006/11/24 00:19:33 UTC

Re[2]: chown executed by the apache user

Hello List


TS> You could run the chown command using sudo if you are on *ix.

How could I forget ;-) this worked. Thanks.

my @args = ($mcm->{sudo_bin}, $mcm->{chown_bin}, $ses->{user}, $realpath);

Where the Apache user has the sudo right only for chown on files under
the real path.

First I tried the Perl package 'Sudo' as I prefer those. But it didn't
worked, and I gave up very quick. So it's worth to give a try.

http://search.cpan.org/~landman/Sudo-0.21/lib/Sudo.pm


Best Regards, Christian -  administrator@itassistance.ch  -


====== START ORIGINAL MESSAGE ======

chown executed by the apache user

You could run the chown command using sudo if you are on *ix.

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

Tom