PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro How Do I...? (http://www.photopost.com/forum/photopost-pro-how-do-i/)
-   -   How to change data directory permissions (http://www.photopost.com/forum/photopost-pro-how-do-i/145708-how-change-data-directory-permissions.html)

pistebasher April 26th, 2011 11:28 AM

How to change data directory permissions
 
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?

Chuck S 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.

pistebasher April 27th, 2011 09:33 AM

Thanks Chuck, I've modified pp-inc.

Chuck S April 27th, 2011 10:45 AM

glad to help enjoy your day.


All times are GMT -5. The time now is 02:04 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97