chown function

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

 



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

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux