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 -  [EMAIL PROTECTED]  -


====== 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

Reply via email to