I wish to know because i need to install 'phpnews' and step 3 says:
';Now CHMOD this directory 775 or 777 during the installation to enable PHPNews to write a settings.php file. Change it back after the install. ';
Thanks!How do you CHMOD a directory in your server to 777 and then change it back?
If you do not have access to a control panel, you will need to SSH in to the Linux server. If you're not sure how to SSH, see this article:
Mac: http://www.hostmysite.com/support/linux/
Windows: http://www.hostmysite.com/support/linux/
Once connected, you will want to run the following command:
chmod 777 /path/to/directory
Then to set it back, run the command again changing the 777 part to whatever the permissions were previously. If you want to check the permissions before running the command above, run the following via SSH:
ls -lah /path/to/directory
This will give something like drwxr--r--. To decode what that means, see the following URL:
https://www.redhat.com/docs/manuals/linu
-Ryan M., Server Engineer @ http://www.hostmysite.comHow do you CHMOD a directory in your server to 777 and then change it back?
There are a couple of ways you can do this. If your webhost has given you access to cPanel you can open the file manager %26amp; change the permissions on a file there.
Personally I do it through my ftp program (Filezilla), it is a lot easier.
Whatever you do don't leave the file as 777 as you are giving the world write access to your website.
Subscribe to:
Post Comments
(Atom)
No comments:
Post a Comment