Jump to content

Problem installing Wishlist Script


Recommended Posts

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 by austinthompson
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.