For Rogo install, we had to give the Apache user permissions to write to various directories (https://suivarro.nottingham.ac.uk/trac/rogo/wiki/Permission):
- /help/staff/images
- /help/student/images
- /media
- /temp
- /qti/imports (not in Wiki at the time)
- /qti/exports (not in Wiki at the time)
- /config (only for install to allow config.inc.php to be written. Not on Wiki at the time)
To find out the user/user ID and group/group ID for the Apache user, I did the following:
- In Putty, “ps aux | grep apache” to find out username of Apache user (wwwrun)
- Looked in etc/passwd to find out user ID (30) and group ID (8) – wwwrun:x:30:8:WWW daemon apache:/var/lib/wwwrun:/bin/false
- Checked group/group ID in etc/group
- In WinSCP, changed permissions, giving the above user/group info: user = wwwrun [30], group = www [8]. Gave this user permission over the whole help directory.