Re: Bug#2877: quota needs to be setuid root.
> Package: quota
> Version: 1.51-6
>
> The quota binary (/usr/bin/quota) needs to be setuid 'root' or it can
> not read the quota files.
No! That's not needed. Look at this:
feivel:todo 146) stat /usr/bin/quota
File: "/usr/bin/quota"
Size: 10444 Allocated Blocks: 22 Filetype: Regular File
Mode: (0555/-r-xr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Device: 770 Inode: 65880 Links: 1
Access: Tue Apr 30 19:54:42 1996
Modify: Thu Apr 11 20:19:28 1996
Change: Fri Apr 26 10:13:54 1996
feivel:todo 147) quota -v
Disk quotas for user meskes (uid 1000):
Filesystem blocks quota limit grace files quota limit grace
/dev/hda4 167986 240000 245000 3654 19000 20000
feivel:todo 148) stat /home/quota.user
File: "/home/quota.user"
Size: 32768 Allocated Blocks: 66 Filetype: Regular File
Mode: (0600/-rw-------) Uid: ( 0/ root) Gid: ( 0/ root)
Device: 772 Inode: 11 Links: 1
Access: Fri May 3 10:02:20 1996
Modify: Fri May 3 10:14:06 1996
Change: Fri May 3 10:14:06 1996
feivel:todo 149) quota
Disk quotas for user meskes (uid 1000):
Filesystem blocks quota limit grace files quota limit grace
/dev/hda4 168046 240000 245000 3653 19000 20000
However, I did experience that problem once as well. I wasn't able to track
it down though. All I did was recompiling quota and rebooting the system and
everything was fine again. I wonder what that's about, too.
Michael
--
Michael Meskes | _____ ________ __ ____
| / ___// ____/ // / / __ \___ __________
meskes@informatik.rwth-aachen.de | \__ \/ /_ / // /_/ /_/ / _ \/ ___/ ___/
| ___/ / __/ /__ __/\__, / __/ / (__ )
Use Debian Linux! | /____/_/ /_/ /____/\___/_/ /____/
Reply to: