It really depends on how you set up ownership and permissions.

I set all music files to be owned by -me-.  I want to be able to read
and write them.

"Others" (including the slimserver user) don't need to write to the
music files.  So they only need read.

This does that:
cd (wherever you store music)
find . -type f -exec chmod 644 {} \;
find . -type d -exec chmod 755 {} \;

That makes files 644 (rw-r--r--) and directories 755 (rhxr-xr-x) ...
for arcane reasons you need 'x' permission on directories.

I do that as -me- and I already own the files.  You may have to chown
them all to yourself if you haven't.

Likewise, I configured Samba to save files as me, and to use the umask
of 022 (which basically strips the write flags for group and others...
making files 644 and directories 755 when they are first created).

With that I can read/write files from Linux or Windows, and Slimserver
can only read them (since it has no need to write them).


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

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

Reply via email to