From: Kless Date: 2008-10-19T00:16:27+09:00 Subject: Re: Call to sudo On 18 oct, 15:47, James Herdman wrote: > Hi Kless. > > I think you're talking about passing commands through the 'system' command. > How about something like this: > >   system("sudo rm -rf /path/to/directory") > So, is not possible anything as: ? --------------- system("sudo") FileUtils.mkdir_p(dir_root) unless File.exist?(dir_root) ---------------