View Full Version : Directory Permissions
June 19th, 2012, 03:39 PM
Giving permissions like 777 on data, upload and images leaves the site at a certain level of risk. Is there any alternate options here other than 777 ?
data (chmod 777)
1 (chmod 777 - including subdirectories)
2 (chmod 777 - including subdirectories)
500 (chmod 777 - including subdirectories)
stylesheets (chmod 777)
templates (chmod 777)
uploads (chmod 777)
1 (chmod 777)
PhotoPost PHP Photo Sharing Photo Gallery Installation Guide (http://www.photopost.com/installphp.html)
June 19th, 2012, 04:03 PM
This all depends on your host and how they have your server setup. If they allow files to be uploaded with directory permissions of 755 as some sites can then you can try it.
We simply write instructions that are accurate for most sites out there. Most hosts have servers setup to only allow that type of process to a directory that is 777.
June 19th, 2012, 04:11 PM
So if I give permissions as 755 to the directories (data,upload & images) can our members upload images without any issues or is there any setting in the admin which needs to be changed?
June 19th, 2012, 05:08 PM
You would have to ask your webhost what they allow or disallow. I was just saying you could try it and see if it works. There is nothing I could do about your hosting environment or its setup.
Our instructions are geared towards novices which is the vast majority of our customers. If you have some experience dealing with server setups then you can work on changing things to work on lesser permissions.
June 21st, 2012, 12:46 PM
Is this error because of file/foder permissions ? This happen when I upload a picture.
Unable to move file [/tmp/phpvOVhBF] -> [/apps/apache/forum/digicam/trunk3641/forum/photos/uploads/1/Salesforce-logo.jpg] How can we fix this?
June 21st, 2012, 02:36 PM
The data and uploads directories need to be 777 permissions.
Like I said it is an easy test to see if your server is setup which way.
I think if you set the data and uploads folders recursively to 777 permissions you will not have an issue.
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.