[prev in list] [next in list] [prev in thread] [next in thread]
List: apache-modperl
Subject: Re[2]: chown executed by the apache user
From: Christian <administrator () itassistance ! ch>
Date: 2006-11-23 23:19:33
Message-ID: 397733187.20061124001933 () itassistance ! ch
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic