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;
 
 
Link to comment
https://forums.phpfreaks.com/topic/275616-problem-installing-wishlist-script/
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.

Archived

This topic is now archived and is closed to further replies.

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