|  | Posted by Shelly on 06/14/49 11:19 
I have a new server and I have my files up there.  The files are in /var/www/html/.  In this directory I have another directory that I created
 called "users".  I am unable to figure out how to set permissions on this
 directory, and what those permissions should be.  I am using ShieldHost.
 
 When there is a new user, and he enters his desired name and password, as
 part of the process I want to create a small directory tree under "users"
 with the username as the top level.  I get that I don't have permission to
 do that with the mkdir in the code.  The line of code is:
 
 mkdir($_SESSION['UserRoot'] . $ss_username, 0755);
 
 where the session variable has the directory path ending in "/".
 
 Any ideas?
 
 Shelly
  Navigation: [Reply to this message] |