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

Set Permissions

Quote Reply
Set Permissions
I hope this is not over simplification, but I have tried these settings several times and it's still not correct. This is the directory structure I am trying to use. Can someone help with permissions?

cgi-bin/links [dir=?, files=?]
cgi-bin/links/admin [dir=?, files=?]
cgi-bin/links/admin/backup [dir=?, files=?]
cgi-bin/links/admin/data [dir=?, files=?]
cgi-bin/links/admin/data/hits [dir=?, files=?]
cgi-bin/links/admin/data/rates [dir=?, files=?]
cgi-bin/links/admin/Html [dir=?, files=?]
cgi-bin/links/admin/Lwp [dir=?, files=?]
cgi-bin/links/admin/Lwp/Parallel [dir=?, files=?]
cgi-bin/links/admin/Lwp/Parallel/Protocol [dir=?, files=?]
cgi-bin/links/admin/templates [dir=?, files=?]


localhost/links/pages [dir=777, files=?]

Thanks
Jim
Quote Reply
Re: Set Permissions In reply to
Hi Jim,

cgi-bin/links [dir=755, files=644]
cgi-bin/links/admin [dir=755, files=***]
cgi-bin/links/admin/backup [dir=777, files=666]
cgi-bin/links/admin/data [dir=755, files=666]
cgi-bin/links/admin/data/hits [dir=777, files=666]
cgi-bin/links/admin/data/rates [dir=777, files=666]
cgi-bin/links/admin/Html [dir=755, files=644]
cgi-bin/links/admin/Lwp [dir=755, files=644]
cgi-bin/links/admin/Lwp/Parallel [dir=755, files=644]
cgi-bin/links/admin/Lwp/Parallel/Protocol [dir=755, files=644]
cgi-bin/links/admin/templates [dir=755, files=666]<p>
localhost/links/pages [dir=777, files=644]

For cgi-bin/links/admin chmod 755 all .cgi files and leave everything else 644. Note: you don't need to change 644 files and 755 directories, those are the defaults and you can leave as is.

Cheers,

Alex
Quote Reply
Re: Set Permissions In reply to
Thanks Alex,
I got it to work after setting permissions. However, I received this error message:

Quote:
Error including libraries: In string, @aagsnc now must be written as \@aagsnc at links.cfg line 72, near "webmaster@aagsnc"

Once I entered the "\" it worked. I mention this because in the FAQs it says the "\" is no longer required and that you will receive an error message if you use it.

Thanks,
Jim