When I click on build, I got an error message: "Unable to open /var/apache/htdocs/pages/index.html (permission denied). This means that user nobody is not able to overwrite the existing file. Please make sure you have set the permissions in the setup to 0666 if you plan to build from both the web and shell at the same time." Can someone tell me what build is trying to do and what directory/file should I set the rights for nobody? Thanks.
Jul 12, 2001, 4:11 PM
Veteran (1264 posts)
Jul 12, 2001, 4:11 PM
Post #2 of 10
Views: 2980
Inside the apache directory? It looks like you've got your build path set up wrong? It's trying to do a bulid in your:
/var/apache/htdocs/pages
directory - unless this is where you've intentionally set it to be? Check your build path in the admin area and change it to point to your Links installation and build directory.
Cheers,
R.
Jul 12, 2001, 4:31 PM
Veteran (19537 posts)
Jul 12, 2001, 4:31 PM
Post #4 of 10
Views: 2986
Hi,
Try chmodding /pages to 777 and index.html to 666
Installs:http://wiredon.net/gt
FAQ:http://www.perlmad.com
Try chmodding /pages to 777 and index.html to 666
Installs:http://wiredon.net/gt
FAQ:http://www.perlmad.com
Jul 12, 2001, 4:35 PM
Veteran (1264 posts)
Jul 12, 2001, 4:35 PM
Post #5 of 10
Views: 2967
Hi,
If you know where the correct build directory for your installation is??? you can change it in the admin yourself - (note: the one you have could be right!?).
You can find it in the admin area (version 2.0.3) by following this path:
Admin -> Setup -> Paths & URL's -> build_root_path
If you're not sure what all this means then it's probably a better idea to get in touch with GT again and get them to sort it out.
Cheers,
R.
If you know where the correct build directory for your installation is??? you can change it in the admin yourself - (note: the one you have could be right!?).
You can find it in the admin area (version 2.0.3) by following this path:
Admin -> Setup -> Paths & URL's -> build_root_path
If you're not sure what all this means then it's probably a better idea to get in touch with GT again and get them to sort it out.
Cheers,
R.
Jul 12, 2001, 4:40 PM
User (164 posts)
Jul 12, 2001, 4:40 PM
Post #6 of 10
Views: 2968
Paulwilson:
I did as you suggested. I chmod pages to 777 and chomod index.html to 666. I clicked on rebuld and still got the same error plus A fatal error has occured: Debug information. Please enable debugging in set up for details. What could this be?
By the way I still can add links and they show up in public. I just cannot do a build. Does this have something to do with my change all the templates (user interface of html files)?
I did as you suggested. I chmod pages to 777 and chomod index.html to 666. I clicked on rebuld and still got the same error plus A fatal error has occured: Debug information. Please enable debugging in set up for details. What could this be?
By the way I still can add links and they show up in public. I just cannot do a build. Does this have something to do with my change all the templates (user interface of html files)?
Jul 12, 2001, 4:41 PM
Veteran / Moderator (6956 posts)
Jul 12, 2001, 4:41 PM
Post #7 of 10
Views: 2974
GT probably installed the files via telnet, which means all the permissions are as "you".
The server is running as 'nobody'.
You will need to go in via telnet, and make changes to the ../pages directory.
The single, easiest thing to do would be to log, and then issue the command:
chmod -R 777 /var/apache/htdocs/pages
This should fix it. The sledgehammer aproach, but effective :)
PUGDOGŪ Enterprises, Inc.
FAQ:http://LinkSQL.com/FAQ
Plugins:http://LinkSQL.com/plugin
The server is running as 'nobody'.
You will need to go in via telnet, and make changes to the ../pages directory.
The single, easiest thing to do would be to log, and then issue the command:
chmod -R 777 /var/apache/htdocs/pages
This should fix it. The sledgehammer aproach, but effective :)
PUGDOGŪ Enterprises, Inc.
FAQ:http://LinkSQL.com/FAQ
Plugins:http://LinkSQL.com/plugin
Jul 12, 2001, 4:59 PM
User (164 posts)
Jul 12, 2001, 4:59 PM
Post #8 of 10
Views: 2975
Hi, I went to Admin-setup-URL and path-Build_root_path, the path is myserver/pages. It should be more or less the same as /var/apache/htdocs/pages. I looked at pages directory. It has rwxrwxrwx (777). The owner is 500 and group is 504 for pages directory. Index.html in pages directory has 666. The owner is root and group is other. I chmoded them as root. I gave GT root access to my machine. Do you see any problem or something that I have not done yet? Help is needed!!!
Jul 12, 2001, 6:11 PM
Veteran / Moderator (6956 posts)
Jul 12, 2001, 6:11 PM
Post #10 of 10
Views: 2975
Permissions as indicated.
chmod changes the permissions on a file.
-R means recurse subdirectories and change all the permissions inside.
PUGDOGŪ Enterprises, Inc.
FAQ:http://LinkSQL.com/FAQ
Plugins:http://LinkSQL.com/plugin
chmod changes the permissions on a file.
-R means recurse subdirectories and change all the permissions inside.
PUGDOGŪ Enterprises, Inc.
FAQ:http://LinkSQL.com/FAQ
Plugins:http://LinkSQL.com/plugin