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

should i chmod another files?example...

Quote Reply
should i chmod another files?example...
should i chmod another files?example...like link.cfg,category.def,links.def,mailer.pm,site_html.pl ???
Quote Reply
Re: should i chmod another files?example... In reply to
thanks heart! i have done it!! Wink
but....i can't chmod admin/data/links.db.bak in 666.....y?

[This message has been edited by kuekhh (edited June 23, 1999).]
Quote Reply
Re: should i chmod another files?example... In reply to
setting your permissions is listed in the readme file!

Quote:
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.

-----------
--------
hearts
-----
just killing time! Wink


[This message has been edited by hearts (edited June 23, 1999).]
Quote Reply
Re: should i chmod another files?example... In reply to
That's because the owner of the file is "nobody" while your sitemgr script is probably setup to use your userid as the owner. So, you do not have permission to change that file using sitemgr.


The links.db.bak file is normally created with chmod 644, not 666. When Links is done with that file, it is renamed to links.db, effectively overwriting links.db but, at the same time, links.db ends up getting 644 permissions again. See http://www.gossamer-threads.com/...es/Detailed/344.html for more information on how to fix that.

When you rebuild your pages, Links should overwrite the current links.db.bak file with a new one and it should then go away. You should not need to change the permissions on it.