Jump to content

mkdir and file permissions


bernhard
 Share

Recommended Posts

hello,

i came up a strange behaviour when playing around. i have this code:

// create folder for new pw site
mkdir('0777', 0777);
mkdir('chmodDir', $config->chmodDir);

and this is what i get:

post-2137-0-96932600-1412673681_thumb.pn

why is the 0777 folder not having 0777 permissions? and what strange permissions do i get when using $config->chmodDir ?

echo $config->chmodDir shows 0755

thank you for your help :)

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...