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

Index.html pages have wrong rights

Quote Reply
Index.html pages have wrong rights
Hi there,

I'm testing Links 2.0 everything is working ok. except that the generate index.html files inside the /pages directorie have wrong rights. They are all set to chmod 600 and because of that they are not readable! The /pages directory isn't in the cgi-bin and the server which ií'm working with is WN_server on a linux server

Please help

Marcel
Quote Reply
Re: [Marcel Emmen] Index.html pages have wrong rights In reply to
In the links.cfg file, in the section marked "Build Options" there's a line that by default is set to:-

$build_dir_per = 0777;

This decides what permissions the pages will be set to when built.

If you've changed that, then set it back how it was (as it is above).
Quote Reply
Re: [wysardry] Index.html pages have wrong rights In reply to
This variable is setting the right for the directory to 777 an this is working ok but, the files create inside this directory have not 777 as rights but 600? Maybe the server set files create by script to 600 is it not possible to added a chmod somewhere in the script which sets the rights for the html files to 777

Marcel
Quote Reply
Re: [Marcel Emmen] Index.html pages have wrong rights In reply to
Strange. Have you tried changing the value of $build_use_templates in links.cfg?

It could be a WN_Server issue as another user had a similar problem. See this thread.

I haven't experienced this problem myself, so I'm not sure what to suggest.