othmar52 / slimpd

PHP/JS based MPD-web-client for large music collections
GNU Affero General Public License v3.0
41 stars 11 forks source link

permissions to access musicfiles #8

Closed othmar52 closed 8 years ago

othmar52 commented 8 years ago

I fixed all the issues listed by systemcheck, except I have this continued problem:

READ-PERMISSION TO ACCESS MPD'S MUSIC-DIRECTORY READACCESS TO DATABASEFILE Here are the permissions for both folders and their contents:

getfacl /home/jo-shva/.config/mpd/database getfacl: Removing leading '/' from absolute path names # file: home/jo-shva/.config/mpd/database # owner: jo-shva # group: users user::rw- user:root:r-x user:http:r-x group::r-- mask::r-x other::r--

And for the Music folder and contents:

# file: home/jo-shva/Music/Royksopp # owner: jo-shva # group: users user::rwx user:root:r-x user:http:r-x group::r-x mask::r-x other::r-x

I cant figure this one out. Acl should give 'http' and 'root' permission to these files. These files are also listed in the php.ini under 'open_basedir'. If you have any ideas I sure would appreciate it.