Ron Fox wrote: > If you just want to prevent casual/accidental, rather than > determined modification, after you close the file: > > > File.chmod("/options.sav", 0440); Does 0440 work on windows too? (I think it's clear, when he meantions "notepad", and saves to the root folder, that he's using Windows.) -- Posted via http://www.ruby-forum.com/.