Jump to content
Larry Ullman's Book Forums

Server Folder Permissions


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 post
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 post
Share on other sites
  • 4 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...