[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


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


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.