# File lib/chef/resource/file.rb, line 66 def mode(arg=nil) set_or_return( :mode, arg, :regex => /^0?\d{3,4}$/ ) end