Jump to content

[CHMOD] Correct IMG folder and subfolders permissions


Recommended Posts

Hello all, I need to migrate in PS 1.6.0.5 to the new image file system from the legacy one. My only fear is that I get notified in the Information panel that I need to check write permissions for "img" and subfolders and a second notice about "modules" and subfolders, but I'm more concerned for the img folder and subfolders for now.

 

As per PS documentation, those folders and subfolders are all 755 but files are mixed 644 or 777 (and some 777 ones are recently added files so I fear are written this way by PS).

 

Which CHMOD do you suggest to avoi errors migrating from old to new image file system? Should I temporarly set "img" and its subfolders to 777? I want to back up the whole DB and image files before commencing operations, where are images using old file system lacated? Should I set those whole folders to 777 or 775 while I do this upgrade?

 

Thanks all for the help you may give me understanding this.

Link to comment
Share on other sites

/img and ALL sub-folders =  at least 0755 - it is not necessary and also a risc to set 0777 cause you are give writing right to every person

 

For ALL FILES into that folders = 0644 is correct and you don't need to give more, due to if higher value, others can make changes. Why your files are mixed this could be due to manual changes made by you, your provider or somebody else (developer you have given rights for debug something).

 

For the migrating process no other rights should be given. They are the same.

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...