default folder/file permissions for new folders

Discussion in 'Installation/Configuration' started by rlischer, Aug 18, 2009.

  1. rlischer

    rlischer Member HowtoForge Supporter

    I have a client who is using php and needs the permissions of a new folder, when created to be 755. Can this be done? If so, how?

    Thanks!
     
  2. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    How is the new folder created? If he creates the folder with a php script, he can use the chmod function in php and if he creates the folders with ftp, take a look at the pure-ftpd config files and change the umask for new folders.
     
  3. rlischer

    rlischer Member HowtoForge Supporter

    I am not sure what they are creating it with, but it sounds like you have a solution either way, thanks!
     

Share This Page