Re: mkdir() problems



On 27 Feb 2006 11:32:57 -0800, joelbyrd@xxxxxxxxx wrote:

I'm trying to do a mkdir(), but I'm getting permission denied error,
even though I've set the mode to 0777: mkdir($full_path, 0777). I
also couldn't do a chmod successfully.

The code is something like:

mkdir("/home/httpd/vhosts/website.com/httpdocs/dev1/test_folder1",
0777);

What's the problem?

What are the permissions on the parent directory?

--
Andy Hassall :: andy@xxxxxxxxxxx :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
.



Relevant Pages

  • Re: Random Number Excluding Specified Value in Array
    ... proportions of the two change and a significant percentage of the range is ... http://www.andyhsoftware.co.uk/space:: disk and FTP usage analysis tool ...
    (comp.lang.php)
  • Re: Error log.
    ... http://www.andyhsoftware.co.uk/space:: disk and FTP usage analysis tool ... Prev by Date: ...
    (comp.lang.php)
  • Re: php diff
    ... example renderers in the package that you can tweak. ... http://www.andyhsoftware.co.uk/space:: disk and FTP usage analysis tool ...
    (comp.lang.php)
  • Re: new forum -- homework help/chit chat/easy communication
    ... http://www.andyhsoftware.co.uk/space:: disk and FTP usage analysis tool ... Prev by Date: ...
    (comp.lang.php)
  • Re: dos command change directory cd .
    ... Specifies that you want to change to the parent directory. ... If Command Extensions are enabled CHDIR changes as follows: ... the on disk names. ...
    (microsoft.public.windows.vista.general)