Issue #15213 has been updated by Matthaus Litteken.

Project changed from Puppet Enterprise (Public) to Puppet

I'm moving this to core puppet because this is not specific to Puppet 
Enterprise.

Additionally, I'll toss in a wikipedia quote: 

    Octal notation
    Another common method for representing Unix permissions is octal notation. 
Octal notation consists of a three- or four-digit base-8 value.
    With three-digit octal notation, each numeral represents a different 
component of the permission set: user class, group class, and "others" class 
respectively.

So returning a 3 digit octal is perfectly acceptable, and has an implicit 
leading 0.
----------------------------------------
Bug #15213: puppet resource file /etc/sudoers output contains 3 octal mode 
instead of 4
https://projects.puppetlabs.com/issues/15213#change-65768

Author: Kevin R. Raney
Status: Unreviewed
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected Puppet version: 
Keywords: 
Branch: 


[root@training manifests]# puppet resource file /etc/sudoers 
file { '/etc/sudoers':
  ensure  => 'file',
  content => '{md5}f298d1064df9009a1603d76ed90ed90f',
  ctime   => 'Mon Jun 25 13:39:50 +0000 2012',
  group   => '0',
**  mode    => '440',**
  mtime   => 'Mon Jun 25 13:39:50 +0000 2012',
  owner   => '0',
  type    => 'file',
}


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to