Rnee wrote: 
> 
> 
> All music is on a subfolder of the SMB share, the playlists are in a
> seperate folder under same subfolder.
> This is part of the output of that ls -l command:> 
Code:
--------------------
  >   > drwxr-xr-x   2 <Win desktop user> <Win desktop user>      46 Dec 26 
12:11  0_Playlists
  > drwxr-xr-x   5 <Win desktop user> <Win desktop user>     219 Nov 17 13:11  
1_Various
--------------------
> > 
> That <Win desktop user> user also exist as a linux user with same
> credentials.
> 
The <Win desktop user> is a red herring in this context - only the linux
user  / groupis relevant (unless Samba Active Directory is used, which
is unlikely)

> 
> I think LMS is running as root... :o
I certainly hope it isn't - check with ps -ef|grep squee

Anyway, the simplest approach is to make 0_Playlists group writeable and
and set  the SGID bit on it (chmod 2775 0_Playlists), then add the user
LMS is running as (ususally squeezeboxserver) to the group owning
0_Playlists (usermod -aG < 0_Playlists owning group> squeezeboxserver)



'Various SW' (https://www.nexus0.net/pub/sw/): Web Interface | Playlist
Editor / Generator | Music Classification | Similar Music | Announce |
EventTrigger | LMSlib2go | ...
'Various HowTos' (https://www.nexus0.net/pub/documents/LMS/): build a
self-contained LMS | Bluetooth/ALSA | Control LMS with any device | ...
------------------------------------------------------------------------
Roland0's Profile: http://forums.slimdevices.com/member.php?userid=56808
View this thread: http://forums.slimdevices.com/showthread.php?t=111390

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to