Gossamer Forum
Quote Reply
built pages
i have used the patch you have suggested, this works ok with the links.db file permissions, yet i still can'y access the files built in my docs/ directory, these are the html pages that are built. permission is still set at -rw-------
any ideas?
Quote Reply
Re: built pages In reply to
Are you saying that the pages being built have rw------- permissions or the files in the data directory have those permissions?
Quote Reply
Re: built pages In reply to
i use a directory called "jump" off my docs directory to test the links program. the jump directory and all those subdirectories off it, such as Cool and Detailed have permissions set to 777, yet the files within them, including the index.html file in the jump directory all have permissions set to -rw-------
can yo help
Quote Reply
Re: built pages In reply to
In the nph-build.cgi file find
Code:
sub foo {
$test = shift;
print "# Crete the new page, and do a bit of HTML work for the main page.
if ($build_span_pages) {
umask(022); #Add for permissions
open (NEW, ">$build_new_path/$date$build_extension") or cgierr ("unable to open what's new page: $build_new_path/$build_index. Reason: $!");";
}

and add the umask (022); where I did

Also find
Code:
sub foo {
$test = shift;
print "# Build the main What's New page.
umask(022); #Add for permissions
open (NEW, ">$build_new_path/$build_index") or cgierr ("unable to open what's new page: $build_new_path/$build_index. Reason: $!");";
}

and put it there as well.
Hope this helps :}