Bug 86199 - neat uses the umask of the user
neat uses the umask of the user
Product: Red Hat Linux
Classification: Retired
Component: redhat-config-network (Show other bugs)
All Linux
medium Severity low
: ---
: ---
Assigned To: Harald Hoyer
Depends On:
Blocks: 81720
  Show dependency treegraph
Reported: 2003-03-16 17:44 EST by Acar
Modified: 2008-05-01 11:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-03-25 06:45:51 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Acar 2003-03-16 17:44:38 EST
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:

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 11:24:41 EST
yep, fixed in newer versions

Note You need to log in before you can comment on or make changes to this bug.