Safe Mode Off but Permission Denied

Safe Mode Off but Permission Denied

by Sebastien Jaffredo -
Number of replies: 5
I have an htaccess file at the root of both moodle and moodledata directories with the line
 
php_flag safe_mode off
 
and my info.php says SAFE MODE OFF, yet I get errors like
 
Warning: mkdir(/hsphere/local/home/novaunio/tipi.novaunion.com/moodledata/users): Permission denied in /hsphere/local/home/novaunio/tipi.novaunion.com/moodle/user/lib.php on line 65
 
I'm at my feable wit's end. I could really use some help on this one.
 
Cheers
 
 
 
Seb
Average of ratings: -
In reply to Sebastien Jaffredo

Re: Safe Mode Off but Permission Denied

by Martin Dougiamas -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
In shell, type this command: 

  chmod 777 /hsphere/local/home/novaunio/tipi.novaunion.com/moodledata


In reply to Martin Dougiamas

Re: Safe Mode Off but Permission Denied

by Sebastien Jaffredo -

I'm not sure what a shell is. I'm not hosting the site myself. Is that the window on the web page I use as an interface for server settings? In which case, were I am supposed to type the command? The text goes like this:

<VirtualHost 38.118.142.215:80>
ServerAdmin  webmaster@tipi.novaunion.com
DocumentRoot /hsphere/local/home/novaunio/tipi.novaunion.com
ServerName   tipi.novaunion.com

ServerAlias  www.tipi.novaunion.com  d444640.u26.infinology.net
User      novaunio
Group      novaunio 

AddHandler cgi-script .cgi
ScriptAlias /cgi-bin "/hsphere/local/home/novaunio/tipi.novaunion.com/cgi-bin"
<IfModule mod_php4.c>
AddType application/x-httpd-php .php3
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
</IfModule>

<DIRECTORY /hsphere/local/home/novaunio/tipi.novaunion.com>
OPTIONS  Indexes ExecCGI MultiViews FollowSymLinks
AllowOverride All
</DIRECTORY>

</VirtualHost>

In reply to Sebastien Jaffredo

Re: Safe Mode Off but Permission Denied

by Martin Dougiamas -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
No, not there.

You want to add write permissions on your moodledata directory.  You really should ask your provider about this.  Somewhere in your control panel you may have some tool to change permissions on things. 
In reply to Martin Dougiamas

Re: Safe Mode Off but Permission Denied

by Sebastien Jaffredo -

I don't think I have that on my panel.

I'll ask my provider.

Thanks a lot for the great toy AND the support.

SJ

Attachment Image1.jpg
In reply to Sebastien Jaffredo

Re: Safe Mode Off but Permission Denied

by Sebastien Jaffredo -

Otherwise, can one imagine hosting moodledata on different server where I have write permissions?