Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Can't build - "Permission denied"?

Quote Reply
Can't build - "Permission denied"?
Hi all,
Suddendly when trying to build, after marking the new links and stuff, when it's about to build any page, I get the error:
Error Message : unable to open what's new page: /home/monograf/public_html/m/New/index.shtml. Reason: Permission denied.

I can solve it by deleting that page (and all of the pages in the site) through FTP before building, but that's not very practical. I checked the permissions on all files:
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.

And I'm running out of ideas... can any one help please?
Thanks.
Quote Reply
Re: Can't build - "Permission denied"? In reply to
Hereīs what happens...

>ls -l index.shtml

-rw-r--r-- 1 nobody nobody 11386 Dec 9 12:57 index.shtml

>chmod 666 index.shtml

chmod: index.shtml: Operation not permitted

>chmod 777 index.shtml

chmod: index.shtml: Operation not permitted

Itīs as if the files got "blocked" or something, it can generate them when they donīt exist, but it cant open or overwrite them...
Any ideas?
Quote Reply
Re: Can't build - "Permission denied"? In reply to
What does

ls -l index.shtml

say?

Perhaps the permission on that file got changed accidently. If it's incorrect do

chmod 666 index.shtml
or try 777 instead.

C.

[This message has been edited by Chimbis (edited December 09, 1999).]
Quote Reply
Re: Can't build - "Permission denied"? In reply to
Point of clarification...The reason that you have nobody user associated with your files is that when you use web applications to build pages, it is defaulted to the nobody user.

This problem has been discussed before. Search this forum for nobody user. If memory serves me correct, there are some codes that can fix this and will allow you to change permissions of that file (to your account rather than the nobody user).

Also, try deleting all your pages, then build your index via telnet, which I have suggested MANY times to other LINKS users.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
----------------------