Jump to content

Looking for a tool that will set all the file and directory permissions


Recommended Posts

I have finished my Prestashop store (having modified a number of Prestashop files.  I would now like to secure the store by setting file and directory permissions to their appropriate value.

 

I know how to set the permissions on files and directories using Filezilla or SSH, but because of the number of files and directories in Prestashop, this would amount to 10s of hours trying to get to all the nested directories and files in those directories.

 

I also know that the permissions on the directories should be set to 755, and the permissions on all the files should be set to 644 (because that is what Prestashop tech support told me).

 

Does anyone out there have a tool (SSH program, Perl script, CGI script, etc.) that will allow me to set all the file and directory permissions in my Prestashop store?

 

I don't know Linux scripting languages, nor Linux in any depth.  I could probably write such a tool in C, but I have no idea how to get it to compile and run under Linux (I do some software development under Windows).

 

I have to believe that there is such a tool out there, since (I would think) that Prestashop users would want to secure their store.

 

Thanks in advance.

 

Steve

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