1) Make the files and directories/folders owned by user 'george' and
group 'music' (if I understood correctly that the name of the music
group is 'music')

chown -R george:music /media/data/multimedia/_Music

chown -R george:music /media/data/multimedia/_Music/_playlists


2) Give the desired permissions. The approach is a little
convoluted/esoteric. There are more elegant approaches, but I know this
works for your particular needs. If you want "other" (ie, non-owner,
non-group) users to have read access, then change 750 to 755 and 640 to
644. Also change 770 to 775 and 660 to 664. 

cd /media/data/multimedia/_Music
find . -type d -exec chmod 750 {} \;
find . -type f -exec chmod 640 {} \;

cd /media/data/multimedia/_Music/_playlists
find . -type d -exec chmod 770 {} \;
find . -type f -exec chmod 660 {} \;


-- 
aubuti
------------------------------------------------------------------------
aubuti's Profile: http://forums.slimdevices.com/member.php?userid=2074
View this thread: http://forums.slimdevices.com/showthread.php?t=89807

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

Reply via email to