Mark Lanctot;201754 Wrote: 
> 
> Check permissions - SS may not have read permission on the files.  I'm
> trying to figure out the best way to do this myself, but an insecure
> way is in a command terminal, "sudo chmod -R 777 <your music folder
> path>".  777 gives read, write and execute access to everyone.  This is
> not secure at all.  Ideally you'd allow only root, yourself and
> SlimServer read/write access, read-only for everyone else, but I
> haven't been able to figure out how to do this.
> 

Slimserver doesn't need to write to files (excepting playlists).  So
what I do:

chown -R me ~/music
find ~/music -type d -exec chmod 755 {} \;
find ~/music -type f -exec chmod 644 {} \;

The playlist directory is:
chmod 1777 ~/playlists

That lets anyone write there, but only the owner can modify/delete what
they own.  (Like /tmp.)


-- 
snarlydwarf
------------------------------------------------------------------------
snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=35254

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

Reply via email to