[SOLVED] - Ownership issue - directory not writable from php

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
r00ki3
Forum Members
Forum Members
Posts: 87
Joined: Thu Apr 12, 2007 11:16 am

[SOLVED] - Ownership issue - directory not writable from php

Post by r00ki3 »

Hi all,

So...I've installed CMSMS 1.8.1 MLE.
As soon as I try to add a new language CMSMS turns up with the following error message:

Your directory "/var/www3" is not writable from php!

It seems like an ownership issue to me...played around with unmask settings, but no luck.
In the system information tab it also says "root path not writable"
Maybe the security is to tight! Is it possible to override these settings with .htaccess?

Suggestions are welcome!
Last edited by r00ki3 on Tue Aug 10, 2010 11:14 am, edited 1 time in total.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: Ownership issue - directory not writable from php

Post by Rolf »

Hi r00ki3

Try to change the permissions of the folders:
/modules/
/uploads/
/tmp/
recursivly to 777

Change the umask to 000

and perhaps in the config.php

Code: Select all

#Permissions for uploaded files.  This only really needs changing if your
#host has a weird permissions scheme.
$config['default_upload_permission'] = '777';
Grtz. Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
r00ki3
Forum Members
Forum Members
Posts: 87
Joined: Thu Apr 12, 2007 11:16 am

Re: Ownership issue - directory not writable from php

Post by r00ki3 »

Thanks rolf, I tried all the above, but unfortunately no result.
To me it must be some weird setting on the webserver somewhere!
Maybe the php-user doesn't have permission to write or to change something to files/folders in the www folder.

I also had issues installing modules...solved it by manually changing permissions to certain folders of the module. But of course...this is not the way it should be!

Anyway, problem is still there! I've contacted the system administrator, so we'll see what he comes up with.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: Ownership issue - directory not writable from php

Post by Rolf »

You can try to use the hosts online Filemanager to change the permissions or the Fileownership.
It might help...
Which webhost do you have on this site?

Good luck,

Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
r00ki3
Forum Members
Forum Members
Posts: 87
Joined: Thu Apr 12, 2007 11:16 am

Re: Ownership issue - directory not writable from php

Post by r00ki3 »

Unfortunately a private one (the company the website is built for takes care of it)...besides ftp and mysql - no access to anything at all...
r00ki3
Forum Members
Forum Members
Posts: 87
Joined: Thu Apr 12, 2007 11:16 am

Re: Ownership issue - directory not writable from php

Post by r00ki3 »

SOLVED - PHP user was granted access by the hosting provider to write in the www folder.
Post Reply

Return to “Modules/Add-Ons”