aubuti;656857 Wrote: 
> 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 {} \;

A) will this impact the root permissions will the root user still have
full access to these files
B) there are a number of subfolders in the music folder by artist will
the command treat the subfolders and their files as well? to grant read
access to the other users in the music group to those files too?


-- 
juggy
------------------------------------------------------------------------
juggy's Profile: http://forums.slimdevices.com/member.php?userid=8939
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