Bug 118952 - quotacheck sets quota file permissions which don't let users check their usage
Summary: quotacheck sets quota file permissions which don't let users check their usage
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: quota
Version: 3.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Amit Gud
QA Contact: Brock Organ
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-03-23 04:04 UTC by Mike MacCana
Modified: 2007-11-30 22:07 UTC (History)
1 user (show)

(edit)
Clone Of:
(edit)
Last Closed: 2006-07-28 16:48:34 UTC


Attachments (Terms of Use)

Description Mike MacCana 2004-03-23 04:04:51 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6)
Gecko/20040211 Firefox/0.8

Description of problem:
quotacheck, when used to create quota files, seems to create quota
files  that are only readable by the root user (regardless of root's
umask). Unless permissions are explicitly changed to make the  quota
file world readable, then users will not be able to run the 'quota'
command to check their own usage.

I tech RHCEs for Red Hat, and have noticed that our courseware
instructs users to create the file using touch first. This wouldn't be
necessaery if quotacheck created the file with correct permissions.




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

How reproducible:
Always

Steps to Reproduce:
1.Create a quota file using quotacheck as root
2.Switch to an unprivileged user. 
3.Check the quota using the quota command.
    

Actual Results:  An error message saying that the quota file isn't
readable

Expected Results:  The quotafile should have been created with
permissions to allow users to check their quotas (ie, world readable).

Additional info:


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