It's easy enough to change the group or owner of a batch of files.  If
you mess with plugins a lot, you might want to create an alias that
fixes all the user and group permissions of everything in your
squeezecenter directory and subdirectories.  Put it in your .bashrc
file.

In .bashrc I also create a safety condition for my music files, so even
root cannot delete or change them.

alias lock_music='chattr -R +i /mnt/jukebox/music'
alias unlock_music='chattr -R -i /mnt/jukebox/music'

typing 'lock_music' changes the file attributes of the whole library to
"immutable".  And when I need to make changes to the library, I just
'unlock_music'.

I've also got a cron job that locks the library 4 times day in case I
forget to.


-- 
Pale Blue Ego
------------------------------------------------------------------------
Pale Blue Ego's Profile: http://forums.slimdevices.com/member.php?userid=110
View this thread: http://forums.slimdevices.com/showthread.php?t=45412

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

Reply via email to