Bug 18160 - LMS does check the U**X permissions only when accessing music library
: LMS does check the U**X permissions only when accessing music library
Status: UNCONFIRMED
Product: Logitech Media Server
Classification: Unclassified
Component: Misc
: 7.9.x
: PC Other
: -- normal (vote)
: ---
Assigned To: Unassigned bug - please assign me!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-12-30 22:31 UTC by dolodobendan
Modified: 2018-01-16 06:05 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dolodobendan 2017-12-30 22:31:21 UTC
With QNAP, LMS needs the music folders and files to have 0775 permissions, despite ACL permitting r+e access for user 'squeezeboxserver' that runs LMS.

Actually I don't know if this has to be fixed in digimaster's installer or LMS itself.

Before digimaster's installer, LMS ran with root rights. This is a huge improvement now, security-wise. But Windows users have to set permissions manually every time they copy files to their share for LMS to be able to find it.

[/share/Multimedia] # getfacl Music
# file: Music
# owner: dolodobendan
# group: everyone
user::rwx
user:admin:rwx
user:dolodobendan:rwx
user:squeezeboxserver:r-x <- Should be able to read the library!
user:guest:---
group::rwx
mask::rwx
other::r-x
default:user::rwx
default:user:admin:rwx
default:user:dolodobendan:rwx
default:user:squeezeboxserver:r-x
default:user:guest:---
default:group::rwx
default:mask::rwx
default:other::---

More details here (behind login):

https://forum.qnap.com/viewtopic.php?f=123&t=136920&start=15#p651455
Comment 1 Michael Herger 2018-01-16 06:05:31 UTC
Isn't this the use case for the ACL plugin?