wilgartw;341926 Wrote:
> chmod -R 666 /media/slug
>
> should do it.
Actually, you need to have execute permissions on the directories, and
really shouldn't give everyone write permissions on anything. You don't
want to give user 'squeezecenter' write permissions, just in case some
current or future bug in SC starts trying to write all over your music
directory.
I don't have the little script I used in front of me, but it's
something like this:
cd /media/slug
find . -type d -exec chmod 755 {} \; # Add read+exec perms to
directories
find . -type f -exec chmod 644 {} \; # Add write+read perms to files
I prefer having the files owned by my username, so I can add files
easily via Samba. But in any event they should not be owned by user
squeezecenter.
--
aubuti
------------------------------------------------------------------------
aubuti's Profile: http://forums.slimdevices.com/member.php?userid=2074
View this thread: http://forums.slimdevices.com/showthread.php?t=52663
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/unix