Installation Permissions

Ok...first of all, make sure that you understand the directory structure. Great. Okay, now understand that the Web server will run as an actual userID. Sometimes, the server will run as the main account userID (e.g. the Web server for Tina's Toys will run as 'tinatoys'). In most cases, the Web server will run as a generic ID such as 'nobody' or 'www'.

Check the following --

The install directory (usually cgi-bin) must be fully accessible (rwx) by the Web server, for two reasons. The wwwinstall.cgi script untar's the wwwinstall.tar file into four separate tar files, and it must have permission to create those files. It also w ill need permission to create the bo and sb sub-directories, if they're not already created. If they have been created, then the bo and sb directories need to be fully accessible by the Web server also.

The output directory must also be fully accessible by the Web server. If the auth file specifies a subdirectory of your main domain, such as www.mydomain.com/catalog, then you can create the subdirectory and make sure that it's fully accessible by the we b server. The install will create the directory for you if you want, but then you'll need to make sure that the Web server has write access to the directory below so that it can create the subdirectory.

If you've already created the data directory, make sure that it's fully accessible to the Web server. If the directory has not yet been created and you want the install to create it, then make sure that the directory that it's to be created in is fully accessible to the Web server. e.g., if the data directory will be at /home/httpd/data, then make sure that the httpd directory can be written in by the Web server.

NOTE: Fully accessible by the Web server means this: If the ID that the Web server is running as is the owner of the file/directory, it means u=rwx, if it is the group, then it means g=rwx, and if neither, you would need to set it as o= rwx. This last option is not recommended, for security reasons. We advise that you change the owner or group of the file to the Web server, so that full accessibility is not given to the world.

Back to Main Help Page | Search | Give Feedback
If you are not finding the help you need, please give detailed feedback.