Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cannot write to directory

Status
Not open for further replies.

rhowes

IS-IT--Management
Jun 6, 2001
140
ZA
Hi All,

I have installed phpbugtracker to manage bug tracking but get error:

----------------------------------------------------------------------
The "c_templates" subdirectory is not writeable by the web process. This needs to be corrected before the installation can proceed so the templates can be compiled by smarty. Please reload this page when this has been corrected.

On a unix system such as linux, this can either be accomplished by making the directory writeable by everyone...
$ chmod a+w c_templates

... or by changing the ownership of the directory to the webserver. For example, if your web server is running as the user you can change the ownership as follows (you must become root first):
$ chown c_templates
----------------------------------------------------------------------

I have changed permissions as suggested in the error message above (even tried 777) so there must be an Apache config file setting preventing writing to the document root (only thing I can think of). Anyone know how to fix this?

I am running Apache 2.0.40 on RedHat 8.0 and my docroot is /var/ The app is installed in /var/
Cheers,

Richard Howes
--------
Censys Online Reservation Systems
Tel: (011) 476-4740
Fax: (011) 476-7235
Cell: (082) 784-0675
Email: richardh@workflowgroup.com
Web:
 
Try adding this to your directory container:

Order allow,deny
Allow from all

If you already have this, then double check the permissions. The following command will give rwx privs to the designated directory and all its subs:

chmod -R 777 /var/
 
Hi,

Checked permissions and the other suggestions above. Still no go. I am going to try re-installing Apache from the RPM (I build it from source).

Cheers
Richard
 
check your permissions again!

the error-message said:
'The "c_templates" subdirectory is not writeable by the web process.'

This doesn't seem to be the directory '/var/ !!
Perhapse it's a subdirectory in the phpbt-directory...

Cheers

frag patrick.metz@epost.de
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top