Red Hat Bugzilla – Bug 109803
timeconfig influenced by umask
Last modified: 2007-11-30 17:10:33 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b)
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):
Steps to Reproduce:
Actual Results: /etc/localtime has more 0600.
Expected Results: Show have mode 0644.
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. ***