Linux has an attribute setting called "immutable", which locks a file so
that even root cannot change or delete it.  I use this to lock down my
music collection so that hackers, networked Windows boxes,
grandchildren, cats walking on keyboards, and even my own fumbling
can't mess with my music.  I only unlock the collection when I'm adding
or changing something.  Run the commands from root or sudo.

the command to lock is:

chattr +i -R /path/to/music

to unlock:

chattr -i -R /path/to/music


-- 
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=26120

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

Reply via email to