Red Hat Bugzilla – Bug 118952
quotacheck sets quota file permissions which don't let users check their usage
Last modified: 2007-11-30 17:07:00 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6)
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):
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
Expected Results: The quotafile should have been created with
permissions to allow users to check their quotas (ie, world readable).