View Full Version : How to change data directory permissions
April 26th, 2011, 11:28 AM
I note that when a new data directory is created it has 777 permissions, as I would expect from the software. However my host's policy is to have these as 755 and they are not pleased when folk create 777 directories. What code to I change to make them 755 instead of 777 by default?
April 26th, 2011, 11:51 AM
You should be able to edit our global file pp-inc.php and change any reference to 0777 to 0755 although on most servers it has to be 777 which is why it is that. Only specific hosts allow file uploads to 755 directories.
April 27th, 2011, 09:33 AM
Thanks Chuck, I've modified pp-inc.
April 27th, 2011, 10:45 AM
glad to help enjoy your day.
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.