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

Re: Complete permission listing is needed

Quote Reply
Re: Complete permission listing is needed In reply to
The Readme.txt of Links 2.0 includes this paragraph:

3. Set permissions:
chmod 755 (-rwxr-xr-x) on all .cgi files.
chmod 666 (-rw-rw-rw-) on all files in the data directory.
chmod 666 (-rw-rw-rw-) on all your template files (if using the online editor).
chmod 777 (drwxrwxrwx) on the hits directory.
chmod 777 (drwxrwxrwx) on the ratings directory.
chmod 777 (drwxrwxrwx) on the directory where Links pages will be created.


Links 2.0: Readme.txt
http://www.gossamer-threads.com/...pts/links/Readme.txt


To complete those brief instructions, I think that usual
permissions for other scripts are:

Directories
755: Cgi-bin directories
755: Read-only (for visitors) directories
777: Directories with full writing permissions

Files
755: Executable script files (.cgi, .pl)
644: Read-only (for visitors) files
666: Files with full writing permissions


Therefore, in the case of Links 2.0, the most probable permissions
are the following, if I am not wrong. Please, correct me any error.
Thank you.

These are UNIX permissions. In the case of Windows NT, "full control"
is an option that seems to work; I don't know a finer adjustment for
NT servers.


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 * Html (SUBDIR)
755 * Lwp (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
644 Validator.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/Html/

644 Entities.pm
644 HeadParser.pm
644 Parser.pm

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

755 * Parallel (SUBDIR)

755 DIRECTORY cgi-bin/links/admin/lwp/Parallel/

755 * Protocol (SUBDIR)
644 Protocol.pm
644 UserAgent.pm

755 DIRECTORY cgi-bin/links/admin/lwp/parallel/Protocol/

644 ftp.pm
644 http.pm

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).

Subject Author Views Date
Thread Complete permission listing is needed AAP 6490 Jan 31, 2000, 1:50 AM
Post Re: Complete permission listing is needed
mdj1 6402 Jan 31, 2000, 4:33 AM
Thread Re: Complete permission listing is needed
Juan G 7701 May 28, 2000, 4:56 PM
Thread Re: Complete permission listing is needed
Juan G 6225 Oct 24, 2001, 11:21 AM
Thread Re: [Juan G] Complete permission listing is needed
Paul 6185 Oct 24, 2001, 11:26 AM
Post Re: [RedRum] Complete permission listing is needed
Juan G 6229 Oct 24, 2001, 11:47 AM