Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Error: Permission Denied

Quote Reply
Error: Permission Denied
I'm new to NT and to Links, but I've been successful (finally) in getting Links installed and running -- almost.
When I try to do a function that points to the .db files, such as add a link, I get this error:

CGI ERROR
==========================================
Error Message : error in add_record. unable to open database: d:/webshare/wwwroot/cgi-bin/links/admin/data/categories.db.
Reason: Permission denied
Script Location : D:\webshare\wwwroot\cgi-bin\links\admin\admin.cgi
Perl Version : 5.00503


I assume that there's something set incorrectly in my directory/file permissions, but I've not been able to figure it out. Any hints, tips, clues?
Quote Reply
Re: Error: Permission Denied In reply to
You need to use your NT Explorer or use an FTP program that will allow to make directory and file permission changes. The permissions for the .db files have to be "Read" and "Write".

For NT Explorer:

1) Right Click on one of the .db files.
2) Select Properties.
3) Click on the Security tab.
4) Click on the Permissions button.
5) Add the following USERS:

DOMAIN/IUSER_MACHINE
DOMAIN/IWAM_MACHINE

5) Give these USERS the following Permissions:

Read / Write (RW)

(Repeat these steps for all .db files)

For FTP: (CuteFTP or AceFTP)

1) Right click on the .db file.
2) Check off "R" and "W" for Owner,
Group, and Everyone.

(Repeat these steps for all .db files)

This should help you.

Regards,


------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us

[This message has been edited by Eliot (edited June 06, 1999).]
Quote Reply
Re: Error: Permission Denied In reply to
Thank you -- this solved it!

Now for my next problem: I'm getting this error message. Solution?



Links Manager: Building Pages
Building Pages
Pages built on 23-Jun-1999 at 11:19:55
--------------------------------------------------------

Backing up database . . .
Backing up links, category and email database (File::Copy) ...

CGI ERROR
==========================================
Error Message : Unable to copy links backup. Reason: No such file or directory
Script Location : D:\Webshare\wwwroot\cgi-bin\links\admin\nph-build.cgi
Perl Version : 5.00503


Steve



------------------
Stephen C. Nill
CharityChannel.com, the online project of American Philanthropy Review

(949) 589-5938

CharityChannel.com
Quote Reply
Re: Error: Permission Denied In reply to
You need an admin/backup directory and that directory must have permissions that allow for creation of files.
Quote Reply
Re: Error: Permission Denied In reply to
Ah, permissions again! That did the trick. Thanks for the lifeline!

Steve