Re: chown ..opperation not permitted

From: Date: Mon, 15 Apr 2002 18:38:23 +0000
Subject: Re: chown ..opperation not permitted
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-93062@lists.php.net to get a copy of this message
On Monday, April 15, 2002, at 02:22 PM, Darren Gamble wrote:
Setting up sudo access should work properly. Ensure that the service is actually running as "nobody" and not another unprivileged user. However, it should be mentioned that this is a very, very insecure method! The chown operator was designed more for PHP command-line scripts that would be run as another user. You may want to re-evaluate why you are changing ownerships of directories from a web page, and determine if there is a safer, more secure way of doing what you want.
Yes, I wouldn't give "nobody" privileges to do anything with sudo. You're better off making "nobody" a member of the same group as the other user, and using chgrp. erik ---- Erik Price Web Developer Temp Media Lab, H.H. Brown pricee@hhbrown.com

« previous php.general (#93062) next »