Red Hat Bugzilla – Bug 86199
neat uses the umask of the user
Last modified: 2008-05-01 11:38:05 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003
Description of problem:
When the program "neat" is run from a user's account (GNOME Menu->System
Settings->Network) with a umask that doesn't allow readable by all permission,
the umask of the user is used for the updated /etc/hosts and /etc/resolv.conf files.
No matter what the umask of the user is, the files should have read permissions
Version-Release number of selected component (if applicable):
Steps to Reproduce:
2.GNOME Menu->System Settings->Network (enter root password)
3.Change the hosts listing or the network parameters
4."ls -l /etc/hosts" (or /etc/resolv.conf) shows the file is not readable by all.
Actual Results: "ls -l /etc/hosts" shows permissions as "-rw-r-----"
Expected Results: ls -l /etc/hosts should show permissions as "-rw-r--r--"
yep, fixed in newer versions