Gossamer Forum
Home : Products : Links 2.0 : Installation -- Unix :

Permission Denied Errors

Quote Reply
Permission Denied Errors
I have Links 2 installed on my server and I can get to the admin screen without problem. However, if I try to use any of the links on the left-hand panel, I get Permission Denied Errors like the one below:

CGI ERROR
==========================================
Error Message : unable to open /data1/hypermart.net/allaboutdogs/cgi-bin/links/admin/data/links.db. Reason: Permission denied
Script Location : admin.cgi
Perl Version : 5.00503

Form Variables
-------------------------------------------
db : links
view_search : 1

Environment Variables
-------------------------------------------
DOCUMENT_ROOT : /data1/hypermart.net/allaboutdogs
GATEWAY_INTERFACE : CGI/1.1
HTTP_ACCEPT : image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/msword, */*
HTTP_ACCEPT_LANGUAGE: en-us
HTTP_COOKIE : Visits=1; p_go2id=k9A63cUO54M1WF_EJmJz0B
HTTP_HOST : server45.hypermart.net
HTTP_REFERER : http://server45.hypermart.net/allaboutdogs/cgi-bin/links/admin/admin.cgi?display=navigation
HTTP_USER_AGENT : Mozilla/4.0 (compatible; MSIE 5.5; Windows 98; AT&T CSM6.0)
PATH : /usr/local/bin:/usr/bin:/bin
QUERY_STRING : db=links&view_search=1
REMOTE_ADDR : 12.92.65.108
REMOTE_PORT : 2287
REQUEST_METHOD : GET
REQUEST_URI : /allaboutdogs/cgi-bin/links/admin/admin.cgi?db=links&view_search=1
SCRIPT_FILENAME : /data1/hm/allaboutdogs/cgi-bin/links/admin/admin.cgi
SCRIPT_NAME : /allaboutdogs/cgi-bin/links/admin/admin.cgi
SCRIPT_URI : http://server45.hypermart.net/allaboutdogs/cgi-bin/links/admin/admin.cgi
SCRIPT_URL : /allaboutdogs/cgi-bin/links/admin/admin.cgi
SERVER_ADMIN : webmaster@hypermart.net
SERVER_NAME : server45.hypermart.net
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.0
SERVER_SOFTWARE : Apache/1.3.6 (Unix) g2am/1.44 adutil/1.8 g2ad/1.70

I believe I must have setup the permissions wrong. I use WSFTPLE to FTP my files. How can I fix this problem?

Thank you in advance.

Quote Reply
Re: Permission Denied Errors In reply to
You need to chmod the data dir to 777 and links.db to 666

Paul Wilson.
http://www.wiredon.net
Quote Reply
Re: Permission Denied Errors In reply to
Also CHMOD the other files in the data folder to 666, just to be sure it will all work....Cool

Andy

http://www.ace-installer.com
webmaster@Ace-installer.com