From: Chris Hulan Date: 2012-05-15T08:55:24+09:00 Subject: Re: FileUtils and "sudo" assuming you currently have: ruby my_script.rb You should be able to : sudo ruby my_script.rb I think, I haven't tried this cheers