/    Sign up×
Community /Pin to ProfileBookmark

chmod instruction – don’t know what to do

hi all,

I am installing this script on my site: [url]http://www.hotscripts.com/Detailed/55048.html[/url]

I have done the instructions but for [B]point 3[/B] below.. making a file an executible. Anyone know what I should do, where to make this chmod command or what to ask for if I need to email my hosting company..

[code=php]1. Edit the variables at the top of csPost.cgi to match your server’s configuration
making sure you use the correct URL to the images directory. Your setup.cgi file will
look something like this:

### SETUP VARIABLES ###

$cgiurl=’http://www.yourdomain.com/cgi-bin/csPost’;
### Full URL to the csPost directory (do not include trailing slash).

$cgipath=’/home/user/public_html/cgi-bin/csPost’;
### Full server PATH to the csPost directory (do not include trailing slash).

$imageurl=’http://www.yourdomain.com/cgi-script/csPost/images’;
### Full URL to the images directory (do not include trailing slash).

$datapath = $cgipath.’/data’;
### Full server PATH to the data subdirectory (do not include trailing slash).

$username=’user’;
$password=’pass’;
### Set the username and password to access the management screen.

### END SETUP VARIABLES ###

2. FTP all the files and directories to your server with the following
structure as suggested above:
/cgi-bin <– your server required script directory
/cgi-bin/csPost <– csPost directory
/cgi-bin/csPost/data <– directory to store data.
/cgi-script/csPost/images <– images directory.

*** FTP ALL FILES IN ASCII MODE EXCEPT IMAGES.

csPost.cgi should be located at
[root url]/cgi-bin/csPost/csPost.cgi where [root url]
is the URL to your website.
Example: http://www.mycompany.com/cgi-bin/csPost/csPost.cgi

3. CHMOD csPost.cgi to executable (CHMOD 755)
Ask your server administrator for assistance if required.

4. If your Perl executable is not located at /usr/bin/perl, edit
the first line of csPost.cgi to reflect the true location.
FTP csPost.cgi if you’ve made any changes.

5. Open csPost.cgi in your web server to enter the management system.
(Example: http://www.yourdomain.com/cgi-bin/csPost/csPost.cgi)
[/code]

If I ignore instruction 3 on [url]http://www.minifigtimes.com/scgi-bin/cgi-script/csPost/csPost.cgi[/url] I get a message saying scgiwrap: Caller must be the nobody user

to post a comment
PHP

2 Comments(s)

Copy linkTweet thisAlerts:
@scragarFeb 09.2009 — Chmod is a unix command, short for "change mode", it let's you edit the perms for a file.

If you have a command line access, normally via ssh, then:
chmod 755 [b]filename[/b]
Otherwise you might have to ask your host, more often than not all you really need is global execute perms, which is easy enough:
chmod +x [b]filename[/b]
Copy linkTweet thisAlerts:
@LEGO-MafiaauthorFeb 09.2009 — super scragar. thanks.

i'll check it out, i have seen a SSH Shell tool ..
×

Success!

Help @LEGO-Mafia spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...