Issue #1538 has been updated by mfournier.
Affected version changed from 0.24.4 to 0.24.6
It would probably make sense to have files created by yumrepo have 0644 mode.
With file mode set to 0600, only root is able to use yum. Normal users cannot
do things such as "yum search" or "yum info". They can usually do this sort of
things on a system installed by hand.
Would it be considered ugly to chmod the file somewhere in this code block
(from yumrepo.rb) ?
<pre>
# Store all modifications back to disk
def self.store
inifile.store
end
</pre>
If you're ok with this idea I can try to make a patch.
----------------------------------------
Bug #1538: Yumrepo sets permissions wrongly on files in /etc/yum.repos.d
http://projects.reductivelabs.com/issues/show/1538
Author: lazzurs
Status: Accepted
Priority: Normal
Assigned to: lutter
Category: yumrepo
Target version:
Complexity: Unknown
Affected version: 0.24.6
Keywords: yumrepo, mode, permissions
When writing out the repo config files the permissions are set to 600. However
a default setup from Fedora or RedHat will have these files set to 644 to allow
users to use yum search.
This is how this application should be configured. If you require any further
information please let me know.
----------------------------------------
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
-~----------~----~----~----~------~----~------~--~---