Jump to content
Larry Ullman's Book Forums

Server Folder Permissions


Edward
 Share

Recommended Posts

I just have a quick question since i am no server expert.

 

When uploading image files to a temporary folder on the server, what should we chmod the image permissions to? (e.g 777)

 

Also what should the folder permission be of the temporary folder?

 

I could upload my image files but could not move them to another folder on the server, is there a certain permission this folder should be also?

Link to comment
Share on other sites

The temporary folder probably needs to be 777. The images just need to be 644 and the public, readable directories, 755. The destination directory will also need to be 777 to be able to move images there.

 

These are general rules, keep in mind. It depends upon how the web server application (that's doing the uploading and moving) is configured and running.

  • Upvote 1
Link to comment
Share on other sites

  • 4 weeks later...
 Share

×
×
  • Create New...