snarlydwarf;201758 Wrote:
> 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.)
Hmm, tried this and it's a bit of a chicken-and-egg thing. If I run
the chown and find command as anything other than root (though "sudo")
it won't allow me due to incorrect permissions.
But when I do these commands as root, they run fine but all the
permissions are changed to root only? I am no longer permitted to
place files in the music directory, only root can do that.
--
Mark Lanctot
'Sean Adams' Response-O-Matic checklist, patent pending!'
(http://forums.slimdevices.com/showpost.php?p=200910&postcount=2)
------------------------------------------------------------------------
Mark Lanctot's Profile: http://forums.slimdevices.com/member.php?userid=2071
View this thread: http://forums.slimdevices.com/showthread.php?t=35254
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/unix