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

Build All and URL problems

Quote Reply
Build All and URL problems
Hello,

I use Links 2.01. I have installed it and made following permissions:

UNIX permissions for Links 2.0:

755 DIRECTORY cgi-bin/links/

755 * admin (SUBDIR)
755 add.cgi
755 jump.cgi
755 modify.cgi
755 rate.cgi
755 search.cgi
755 subscribe.cgi

755 DIRECTORY cgi-bin/links/admin/
(password protected)

755 * backup (SUBDIR)
755 * data (SUBDIR)
755 * templates (SUBDIR)
755 admin.cgi
755 admin_html.pl
644 category.def
755 db.pl
755 db_utils.pl
644 links.cfg
644 links.def
644 Mailer.pm
755 nph-build.cgi
755 nph-email.cgi
755 nph-verify.cgi
755 site_html.pl
755 site_html_templates.pl
644 Template.pm

755 DIRECTORY cgi-bin/links/admin/backup/

644 index.html

755 DIRECTORY cgi-bin/links/admin/data/

777 * hits (SUBDIR)
777 * rates (SUBDIR)
666 categories.db
666 categoryid.txt
666 email.db
666 links.db
666 linksid.txt
666 modified.db
666 url.db
666 validate.db

777 DIRECTORY cgi-bin/links/admin/data/hits/

666 index.count

777 DIRECTORY cgi-bin/links/admin/data/rates/

666 index.html


755 DIRECTORY cgi-bin/links/admin/templates

666 add.html
666 add_error.html
666 add_success.html
666 category.html
666 cool.html
666 detailed.html
666 email.html
666 email_error.html
666 email-add.txt
666 email-del.txt
666 email-mod.txt
666 home.html
666 link.html
666 modify.html
666 modify_error.html
666 modify_success.html
666 new.html
666 rate.html
666 rate_error.html
666 rate_success.html
666 rate_top.html
666 search.html
666 search_error.html
666 search_results.html

777 DIRECTORY pages (or root to build categories)

644 background.gif
644 links.css

(There are details on this last 777 permission
in the links.cfg file).


But by clicking on "Build All" in admin menu I see this error: "CGI ERROR
==========================================
Error Message : Unable to copy links backup. Reason: Permission denied
Script Location : /my_server_path/links/admin/nph-build.cgi
Perl Version : 5.00503
"

I don't really know what should I change here.

And the second problem is:

if I add a link and after that I make "Staggered (Auto)" and go to Home Page I see my links, but they don't work. If I click on some link I see only: "Error: Can't find link id: 5"

Help me please to solve this two problems!!!!!!

thanks in advance


Quote Reply
Re: [uhrwerk] Build All and URL problems In reply to
Did you read the instructions?

.cgi scripts to 755 (ok)
sub-folders in the 'admin' folder set to 777
all other files to 666.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Build All and URL problems In reply to
Thanks,

it works!!!