From: sharmin malik Date: 2012-09-13T06:43:01+09:00 Subject: How to run File Operation as sudo Hi f=File.new("/etc/fstab","a+") f.puts entry now problem is , I am running the script as not root user ,,now its failing because the user does not root priviligies now how will do this ?? can i run that ruby module as sudo ?? thanks -- Posted via http://www.ruby-forum.com/.