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

Permission error

Quote Reply
Permission error
Hi, I just installed Links and It seems to be setup OK but when I go to 'build' I get this error:
CGI ERROR
==========================================
Error Message : Unable to copy links backup. Reason: Permission denied
Script Location : /home/pharm/public_html/cgi-bin/links/admin/nph-build.cgi
Perl Version : 5.006

I have CHMOD'ed the cgi-bin/links and cgi-bin/links/admin directories to 755 and the links/pages directory is set to 777, that directory however is protected by .htaccess is that why I can't build pages? Any help would be appriciated!
thanks,
graham

Quote Reply
Re: Permission error In reply to
This has been discussed before in this forum. If you would've searched for Unable to copy links backup using EXACT phrase option, you would found Threads where the following suggestions have been posted:

1) You need to have a blank file in your data directory called links.db.bak, which should've come with the ZIP archive.

2) Change the permission of the links.db.bak file to 666 (rw-rw-rw-).

3) Your DATA directory/folder needs to be set to 777 (drwxrwxrwx) and all sub-directories/sub-folders within the data directory needs to be also set to 777 (drwxrwxrwx), including the following:

a) backup
b) hits
c) ratings

Good luck!



Regards,

Eliot Lee
Quote Reply
Re: Permission error In reply to
Okay thanks, I got it working earlier by searching the threads. Sorry, when I first tried to search as a non-member I got a 404 error here on the forum, I assumed the search wasn't working. I posted, tried the search again and found the numerous replies you have made on this same subject. I must say this forum is a must have, the readme file is not complete. Thanks for the help :)
graham

Quote Reply
Re: Permission error In reply to
You're welcome.

Regards,

Eliot Lee