From: Phlip Date: 2008-10-19T00:24:11+09:00 Subject: Re: Call to sudo Kless wrote: > So, is not possible anything as: ? > system("sudo") > FileUtils.mkdir_p(dir_root) unless File.exist?(dir_root) No. The system command runs sudo in a shell - a separate executing binary image - and then throws away its context and returns. The commands then run without super-user support. Now what's the outer problem that makes you need sudo? -- Phlip