Jump to content

Recommended Posts

Posted

I've installed Moodle, which works but I then run into the problem detailed in http://moodle.org/mod/forum/discuss.php?d=43092. When troubleshooting this, I found that the session key files kept in /tmp/moodledata/sessions are getting permissions 600. However, the script has to "execute" the files so the value should be 700. Manually changing permissions solves the problem for that one session but not for others. How can I get Apache to create the file with execute permissions?

 

Thanks,

 

-PS

Posted

Welcome to the forums PiezoSapphire :angry:

 

If you open a ticket with the help desk and ask them to change the ownership of the folder to "nobody" that should solve your problem.

 

Since the server runs as user "nobody" it will be able to write to that folder.

Posted
Welcome to the forums PiezoSapphire :wallbash:

 

If you open a ticket with the help desk and ask them to change the ownership of the folder to "nobody" that should solve your problem.

 

Since the server runs as user "nobody" it will be able to write to that folder.

Thanks for your help! Unfortunately that didn't solve my problem, unless permissions don't inherit. I finally had to store sessions in the db, althought I don't know about impact on performance.

 

Thanks again!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...