FS#44544 - [mythtv] User 'http' has no permission to access /var/lib/mythtv/mythweb
Attached to Project:
Community Packages
Opened by Alain Kalker (ackalker) - Saturday, 11 April 2015, 08:52 GMT
Last edited by Ike Devolder (BlackEagle) - Sunday, 24 September 2017, 08:23 GMT
Opened by Alain Kalker (ackalker) - Saturday, 11 April 2015, 08:52 GMT
Last edited by Ike Devolder (BlackEagle) - Sunday, 24 September 2017, 08:23 GMT
|
Details
Description:
After installing and setting up MythTV, I decided to install mythplugins-mythweb as well, using lighttpd as web server. This produced the following warning from pacman: [2015-04-10 12:56] [PACMAN] Running 'pacman -S mythplugins-mythweb' [2015-04-10 12:56] [ALPM] transaction started [2015-04-10 12:56] [ALPM] warning: directory permissions differ on /var/lib/mythtv/ filesystem: 700 package: 755 [2015-04-10 12:56] [ALPM] installed mythplugins-mythweb (1:0.27.4-3) Trying to setup mythweb, I found that the user 'http' had no access whatsoever to files under /var/lib/mythtv/mythweb. (Had I acted on the pacman warning immediately, this would have saved me hours of troubleshooting...) Looking at what mythtv's install script is doing, it appears that for some reason useradd with the -r option creates that system user's home directory with permissions 700 so only the user has access. Please consider adding: chmod 755 /var/lib/mythtv below the useradd in the pakage install script. Additional info: * package version(s) mythtv 1:0.27.4-3 mythplugins-mythweb 1:0.27.4-3 * config and/or log files etc. Steps to reproduce: |
This task depends upon
Comment by Doug Newgard (Scimmia) -
Saturday, 11 April 2015, 16:18 GMT
- Field changed: Status (Unconfirmed → Assigned)
- Task assigned to Felix Yan (felixonmars)
Looks like you were the last person to do anything with this,
Felix, so I'll assign to you.