[Spacewalk-list] Fwd: Upgrade issue when umask set to 0077

Pierre Casenove pcasenove at gmail.com
Tue Jan 31 12:13:58 UTC 2012


Hello,
I didn't see any reply on this. Did you had time to review it?

Thanks,

Pierre


---------- Forwarded message ----------
From: Pierre Casenove <pcasenove at gmail.com>
Date: 2012/1/25
Subject: Upgrade issue when umask set to 0077
To: spacewalk-list at redhat.com


Hello,
I ran into an issue when I upgraded from SW 1.5 to SW 1.6:
- on my set up, root user has an umask of 0077
- during setup, /etc/cobbler/settings is backuped and recreated... but
with permission set to root:root 600
- Apache can't access the file until chmod 644 is performed

Please find attached a patch that simply calls chmod after cobbler
file has been created in spacewalk-setup perl script.
I couldn't test it in all cases so please review it carrefully.

Pierre
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-chmod-644-once-file-etc-cobbler-settings-has-been-cr.patch
Type: application/octet-stream
Size: 867 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20120131/7b1a8625/attachment.obj>


More information about the Spacewalk-list mailing list