Support
Database
Scripts on my old server ran under permission
777 but I have so many files to alter. Is there
an easy way of doing this?
We
do not allow scipts to run under 777 for reasons
of security. Executable scripts should run under
711 or 755.
Changing
the file permissions of several files requires
very little work but you will need SSH access.
1)
Once SSH access has been granted navigate to the
location of the files.
2)
If you are unfamiliar with shell commands the
command ‘cd’ followed by a space and folder name
will move you into the folder.
3)
The command ‘ls’ lists the files in the current
folder and ‘cd ..’ moves down a folder.
4)
Once you have moved into the folder where your
files are held use the command ‘chmod 755 *’ to
change the all files to permission to 755.
5)
The * specifies to rename everything.
6)
If you want to change only cgi files to permission
755 then the command ‘chmod 755 *cgi’ will change
the permissions of all files ending cgi to 755.
Please
do ask if you are unsure.
Return
to category list