From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031110 Firebird/0.7+ Description of problem: When generating the /etc/localtime output file timeconfig is influenced by the umask used. This is bad if it prevents reading by group or other. Version-Release number of selected component (if applicable): redhat-config-date-1.5.25-1 How reproducible: Always Steps to Reproduce: 1.su 2.umask 077 3.run timeconfig Actual Results: /etc/localtime has more 0600. Expected Results: Show have mode 0644. Additional info:
Created attachment 95916 [details] Explicitly call chmod() The obviously correct way it to call chmod() explicitly. The attached patch is tested but given my python expperience this doesn't mean much.
Patch looks fine to me. Applied and committed. Should appear in system-config-date-1.7.1-1. Thanks for the patch.
*** Bug 109356 has been marked as a duplicate of this bug. ***