Hello,
I have a question regarding permissions under Linux.
I recently applied a more fine grained access control to my files using ACL.
The access rights to my music folder is as follows:
This works well in the sense that the music files were still accessible by the server and music could be played.
Some time later, I added new music to my collection, and launched a scan to add the files. However, the scanner couldn't find the new files. I then retried, this time by specifying "Clear library and rescan everything". This time, the library was indeed cleared, but no music could be added. So I ended up with no music at all in my Logitech Media Server.
I then changed the access rights, without success:
I then changed again the access rights, this time with success:
So with other::r-x I could re-scan the library. Once that was done, I set it back to other::--- and was still able to play music.
I'm wondering if the scanner is running under a different userid than "squeezeboxserver"?
I'm using Logitech Media Server Version: 7.9.1 - 1522157629
Thanks for any help!
I have a question regarding permissions under Linux.
I recently applied a more fine grained access control to my files using ACL.
The access rights to my music folder is as follows:
user::rwx (this are the access rights for the owner of the files/folders)
user:squeezeboxserver:r-x
group::r-x (this are the access rights for the owning group)
group:group1:rwx
group:group2:r-x
mask::rwx
other::--- (this are the access rights for other)
user:squeezeboxserver:r-x
group::r-x (this are the access rights for the owning group)
group:group1:rwx
group:group2:r-x
mask::rwx
other::--- (this are the access rights for other)
This works well in the sense that the music files were still accessible by the server and music could be played.
Some time later, I added new music to my collection, and launched a scan to add the files. However, the scanner couldn't find the new files. I then retried, this time by specifying "Clear library and rescan everything". This time, the library was indeed cleared, but no music could be added. So I ended up with no music at all in my Logitech Media Server.
I then changed the access rights, without success:
user::rwx
user:squeezeboxserver:rwx
group::r-x
group:group1:rwx
group:group2:r-x
mask::rwx
other::---
user:squeezeboxserver:rwx
group::r-x
group:group1:rwx
group:group2:r-x
mask::rwx
other::---
I then changed again the access rights, this time with success:
user::rwx
user:squeezeboxserver:r-x
group::r-x
group:group1:rwx
group:group2:r-x
mask::rwx
other::r-x
user:squeezeboxserver:r-x
group::r-x
group:group1:rwx
group:group2:r-x
mask::rwx
other::r-x
So with other::r-x I could re-scan the library. Once that was done, I set it back to other::--- and was still able to play music.
I'm wondering if the scanner is running under a different userid than "squeezeboxserver"?
I'm using Logitech Media Server Version: 7.9.1 - 1522157629
Thanks for any help!