<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.moodle.org/39/en/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Drb0566</id>
	<title>MoodleDocs - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://docs.moodle.org/39/en/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Drb0566"/>
	<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/Special:Contributions/Drb0566"/>
	<updated>2026-04-17T19:16:45Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=Category:FAQ&amp;diff=65713</id>
		<title>Category:FAQ</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=Category:FAQ&amp;diff=65713"/>
		<updated>2009-11-23T21:40:10Z</updated>

		<summary type="html">&lt;p&gt;Drb0566: permission denied for my moodledata directory&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hello,&lt;br /&gt;
&lt;br /&gt;
I&#039;m new to moodle and I just installed version 1.9. Everything went well, but I&#039;m having problems with my data files location. I get this message when I log into my homepage:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Warning: mkdir() [function.mkdir]: No such file or directory in /home/content/d/r/b/drb0566/html/moodle/lib/setuplib.php on line 167&lt;br /&gt;
ERROR: You need to create the directory /data/moodledata with web server write access&lt;br /&gt;
&lt;br /&gt;
To the best of my knowledge, I have /data/moodledata with web server write access.&lt;br /&gt;
&lt;br /&gt;
Do i manually set up specific sub-directories in the moodledata directory?&lt;br /&gt;
&lt;br /&gt;
my config settings are like this:&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;dirroot   = &#039;/home/content/x/x/x/xxxxxx/html/moodle&#039;;&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;dataroot  = &#039;/data/moodledata&#039;;&lt;br /&gt;
&lt;br /&gt;
CFG-&amp;gt;admin = &#039;admin&#039;;&lt;br /&gt;
&lt;br /&gt;
$CFG-&amp;gt;directorypermissions = 02777;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Should i adjust any default settings on the setuplib.php file?&lt;/div&gt;</summary>
		<author><name>Drb0566</name></author>
	</entry>
</feed>