Hi,
I am installing Moodle-1.8 on xubuntu 7.04 Feisty Fawn Server edition.
Now I made a folder for Moodle in /var
The path is now: /var/moodledata
The user of the moodledata folder must be apache and I don't see that the user with the name: apache or nobody are by default on Xubuntu.
What must the permission be on the moodledata folder?
How can I fix this?
Thank you in advanced.
DR,
If I understand your question correctly:
- If you look in your Apache configuration file (httpd.conf) for a line starting with the word user (that doesn't have a # in front of it), that will tell you the user name that Apache runs as (provided it is launched by root).
- The Moodle docs installation instructions (http://docs.moodle.org/en/Installing_Moodle#Creating_the_data_directory_.28moodledata.29) suggest using 770 as your permission setting for the Moodle data folder for starters, and then if that works okay change it to 750 for more security. It also says that if you are using a shared web host, it might be more appropriate to use 707.
RLE
I mean:
On a linux Fedora installation you have for example the users with the name:
- apache
- nobody
- root
etc
On a linux Xubuntu installation I can see only the user with the name:
- root
Now the owner of the moodledata folder must be: apache or nobody.
Question:
1) Can I simply make a user with the name apache or nobody and give them the right permissions?
Thank you in advanced
On a linux Fedora installation you have for example the users with the name:
- apache
- nobody
- root
etc
On a linux Xubuntu installation I can see only the user with the name:
- root
Now the owner of the moodledata folder must be: apache or nobody.
Question:
1) Can I simply make a user with the name apache or nobody and give them the right permissions?
Thank you in advanced
DR,
The answer is yes. When you are signed on to any Unix or Linux system as root, you can create any user you want and grant them whatever permissions you want. What surprises me is, if you have been running Apache on this system, launching it as root, that it hasn't already created a user named apache or nobody or whatever user name is on the User directive in httpd.conf.
RLE
Thank you for your support.
Believe it or not.
I installed Xubuntu Xubuntu 7.04 Feisty Fawn, (not Fedora).
It is ok with Fedora.
Xubuntu Xubuntu 7.04 Feisty Fawn has no apache account.
There is a root account but that is not my story.
My story is about the apache and the nobody user account which are not in Xubuntu.
But I made a apache account and now it is working.
Thanks
Believe it or not.
I installed Xubuntu Xubuntu 7.04 Feisty Fawn, (not Fedora).
It is ok with Fedora.
Xubuntu Xubuntu 7.04 Feisty Fawn has no apache account.
There is a root account but that is not my story.
My story is about the apache and the nobody user account which are not in Xubuntu.
But I made a apache account and now it is working.
Thanks