fu_get_gid(group)
public
Hide source
# File lib/fileutils.rb, line 1024 def fu_get_gid(group) #:nodoc: return nil unless group case group when Integer group when /\A\d+\z/ group.to_i else Etc.getgrnam(group) ? Etc.getgrnam(group).gid : nil end end