Issue #1538 has been updated by mfournier. File yumrepo-permission-fix.patch added
luke wrote: > Seems reasonable to me; there isn't ever any private information in the > files, is there? Except an optional proxy username/password, it doesn't seem so. Anyway both redhat and fedora ship their repository description files with world readable mode: <pre> m...@lonquimay:/tmp$ rpm2cpio fedora-release-10-1.noarch.rpm | sudo cpio -di 78 blocks m...@lonquimay:/tmp$ ls -l etc/yum.repos.d/ total 16 -rw-r--r-- 1 root root 1962 2008-12-13 19:19 fedora-rawhide.repo -rw-r--r-- 1 root root 1090 2008-12-13 19:19 fedora.repo -rw-r--r-- 1 root root 1108 2008-12-13 19:19 fedora-updates.repo -rw-r--r-- 1 root root 1181 2008-12-13 19:19 fedora-updates-testing.repo </pre> I've attached a simple patch. Luke, do you think this is a suitable way of solving the issue ? ---------------------------------------- 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 -~----------~----~----~----~------~----~------~--~---
