file_writable? (God::Process)

    # File lib/god/process.rb, line 24
        def file_writable?(file)
          pid = fork do
            ::Process::Sys.setgid(Etc.getgrnam(self.gid).gid) if self.gid
            ::Process::Sys.setuid(Etc.getpwnam(self.uid).uid) if self.uid

            File.writable?(file) ? exit(0) : exit(1)
          end

          wpid, status = ::Process.waitpid2(pid)
          status.exitstatus == 0 ? true : false
        end