Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 86199

Summary: neat uses the umask of the user
Product: [Retired] Red Hat Linux Reporter: Acar <acar>
Component: redhat-config-networkAssignee: Harald Hoyer <harald>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: 8.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-03-25 11:45:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 81720    

Description Acar 2003-03-16 22:44:38 UTC
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
by all.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.umask 0027
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--"

Additional info:

Comment 1 Harald Hoyer 2003-03-20 16:24:41 UTC
yep, fixed in newer versions