4WebHelp
 FAQ  •  Search  •  User Groups  •  Forum Admins  •  Smilies List  •  Statistics  •  Rules   •  Login   •  Register
Toggle Navigation Menu

 chmod help
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic
Author Message
domuk
WebHelper
WebHelper


Joined: 15 Jan 2004
Posts: 91

PostPosted: Fri Jan 23, 2004 3:28 pm (13 years, 10 months ago) Reply with QuoteBack to Top

Quote:

If my cgi bin has a file permition of:
drwxr-x---
(dr=dir, w=write, x=execute, r=read, -=?, x=execute, -=?,-=?,-=?)


Quote:
and my directory (/textcounter) under it has a file permition of:
drwxr-xr-x
(I have tried to set this to 777)


Quote:
and the file in (/textcounter) (textcounter.cgi) has a file permition of:
-rwxrwxrwx
(=777 as I set it)


Have I the correct settings?

Could someone please explain what is going on with the directories.

If I have set the file to 777 do all the directorys above (including the cgi bin) have to be set to 777?

Would there be any security issues if I set my cgi-bin to 777?

Thanks as always,

Dom.
OfflineView User's ProfileFind all posts by domukSend Personal Message
adam
Forum Moderator & Developer



Joined: 26 Jul 2002
Posts: 704
Location: UK

PostPosted: Fri Jan 23, 2004 5:12 pm (13 years, 10 months ago) Reply with QuoteBack to Top

setting cgi-bin to 777 is a security risk, it should be 755

________________________________
It's turtles all the way down...
OfflineView User's ProfileFind all posts by adamSend Personal MessageVisit Poster's Website
domuk
WebHelper
WebHelper


Joined: 15 Jan 2004
Posts: 91

PostPosted: Wed Jan 28, 2004 8:57 pm (13 years, 10 months ago) Reply with QuoteBack to Top

Thanks Adam,

Any advice on server paths?

I donít appear to get even a simple CGI script working.

I think it is to do with the paths or the file permissions

Is there a Very simple test script that I could run to confirm that I have the paths and file permissions correct?

Or is there a test script that I can place in the CGI bin to give me information about the server paths that I should be using?

This is driving me mad. and I donít know how to find out what is wrong (the Perl code or paths or something to do with the server)



I am using Phobos server at www.easily.co.uk

http://easily.co.uk/index.php3?exe=faq&noss=1&sb=n&do=d&id=217


Any advice is welcome,

Thanks in advance,

Dom..
OfflineView User's ProfileFind all posts by domukSend Personal Message
domuk
WebHelper
WebHelper


Joined: 15 Jan 2004
Posts: 91

PostPosted: Fri Jan 30, 2004 10:55 am (13 years, 10 months ago) Reply with QuoteBack to Top

Horray, I got it working!!!

Thanks Adam for your help,

I Deleted everything in my cgi bin and double checked everything and it worked.

Thanks again,

Dom..

Ps I found this site good http://perl.about.com/library/weekly/aa010902d.htm
OfflineView User's ProfileFind all posts by domukSend Personal Message
Display posts from previous:      
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic


 Jump to:   




You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot edit your posts in this forum.
You cannot delete your posts in this forum.
You cannot vote in polls in this forum.


Page generation time: 0.054901 seconds :: 18 queries executed :: All Times are GMT
Powered by phpBB 2.0 © 2001, 2002 phpBB Group :: Based on an FI Theme