[PHP] question about mkdir() and ownership permissions

2004-10-13 Thread Jason FB
PHP General List,
I am trying to use mkdir() on a shared unix server to create a 
directory within my home space. I have to have the ability for my 
user on this server to upload to this folder, however I think that 
mkdir() creates the directory and makes it owned by the process 
running Apache -- nobody, httpd, or apache depending on the system 
(which is someone else's so I don't know)

I get permission denied when I try to upload to these folders.
I suppose I could use mkdir and specify the mode as 0777 to give 
broad write access to these folders, but I always thought this was a 
security risk.

Does anyone know how I can create a directory which is owned by my 
user account on this server-- or have any other creative suggetions?

Thanks.
Jason FB


Re: [PHP] question about mkdir() and ownership permissions

2004-10-13 Thread Jason Wong
On Thursday 14 October 2004 06:02, Jason FB wrote:

 Does anyone know how I can create a directory which is owned by my
 user account on this server-- or have any other creative suggetions?

If you have it, use FTP.

-- 
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *
--
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
--
/*
Ask not for whom the Bell tolls, and you will pay only the station-to-station
rate.
-- Howard Kandel
*/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php