bernhard Posted October 7, 2014 Posted October 7, 2014 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: 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
netcarver Posted October 7, 2014 Posted October 7, 2014 (edited) What do you get if you type umask<return> from a command line window on your server box? Edited to add: Sounds like it will be '0022'. Edited October 7, 2014 by netcarver
Recommended Posts