Issue #2357 has been updated by N M.
Luke Kanies wrote: > This is a dupe, and unfortunately it's not at all trivial. Duplicate of what? I looked but couldn't find. ---------------------------------------- Bug #2357: ralsh is confused about file permissions (mode), can't write octal http://projects.reductivelabs.com/issues/2357 Author: N M Status: Duplicate Priority: Normal Assigned to: Category: executables Target version: Complexity: Trivial Affected version: 0.24.8 Keywords: ralsh, perm, mode Looks like it's converting the permission value to base 10 instead of base 8: <pre> $ echo test > /tmp/test.txt $ chmod 644 /tmp/test.txt $ ralsh file /tmp/test.txt file { '/tmp/test.txt': seluser => 'unconfined_u', owner => '500', selrole => 'object_r', ensure => 'file', group => '500', seltype => 'user_tmp_t', content => 'test ', selrange => 's0', checksum => '{md5}d8e8fca2dc0f896fd7cb4cb0031ba249', mode => '420', type => 'file' } $ rpm -q puppet puppet-0.24.8-1.fc10.noarch $ rpm -q ruby ruby-1.8.6.287-2.fc10.x86_64 </pre> Same thing happens on RHEL53+EPEL's puppet. -- 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://reductivelabs.com/redmine/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 -~----------~----~----~----~------~----~------~--~---
