austinthompson Posted March 13, 2013 Share Posted March 13, 2013 (edited) I am installing a script on my server. The readme file says: HOW TO INSTALL 1. Unpack contents of tarball into a webfolder ** DONE ** 2. Run changePerm script to set permissions of files ** I have no idea what this means. And I realize I probably sound dumb but I usually just have to install a script on my server and then modify a few settings. Can anyone eplain to me what I need to do? Here is what it says in the "changeperm" file chmod -R 770 *.php; chmod -R 775 *.js *.css images/*; find -name ".htaccess" -print0 | xargs -0 chmod 0775; find -type d ! -name "CVS" -print0 | xargs -0 chmod 2771; Edited March 13, 2013 by austinthompson Quote Link to comment Share on other sites More sharing options...
gizmola Posted March 13, 2013 Share Posted March 13, 2013 That is a shell script. What that means is that they expect you will ssh into the server, and execute that script from the command line. The only issue in doing that is that the execute permission must be set on the script in order to run it. With that said, you've also looked inside the script and can see that there are a series of commands you could run from the shell, one after another. If you google the commands chmod, find and xargs, you could learn quite a bit about basic linux file system permissions in the process. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.