chown function

From: Date: Tue, 04 Oct 2005 05:21:20 +0000
Subject: chown function
Groups: php.general 
Request: Send a blank email to php-general+get-223589@lists.php.net to get a copy of this message
Hello, I'm using: chown("$endpath", "admin"); to try to change the owner of directories after using mkdir() to create them. It continues to fail on my remote Fedora server. I know the path is correct because mkdir() works perfectly. Apache sets the owner as 48 when the directory is created. I am not running in safe mode. The php.net documentation does not make certain things clear to me... For example, do I need to be using a user id number instead of a name? Will the chown only work if the server is setup as a super user? Any help would be greatly appreciated. Larentium

« previous php.general (#223589) next »