Bugtraq mailing list archives
Re: Disk (over)quota in Windows 2000
From: jw () QITS NET AU (John Wiltshire)
Date: Thu, 2 Mar 2000 09:34:40 +1000
-----Original Message----- From: Peter Gutmann [mailto:pgut001 () CS AUCKLAND AC NZ] Sent: Wednesday, 1 March 2000 11:56 am To: BUGTRAQ () SECURITYFOCUS COM Subject: Re: Disk (over)quota in Windows 2000 Dave Tarbatt - ACS <D.A.Tarbatt () BOLTON AC UK> writes:I've been looking into disk quotas under Windows 2000 andhave uncovered afew anomalies. On top of a few peculiarities there appearsto be a bug whichallows a user to exceed their disk quota by as much as they wish. [...] I discovered by experiment that new files can be createdupto a size of(Quota - UsedSpace + 2KB - 1byte), i.e. they can gooverquota by up to 2047bytes. Not too much of a problem. Extending existing filescan be up to(Quota - UsedSpace +1KB -1byte) i.e. up to 1023 bytesoverquota - nothingmuch to be worried about.Isn't this just a cluster-size filling issue? It looks like accounting is being done on a bytes-used basis but files are managed on a per-cluster basis, so it's possible to extend files out to fill the cluster without coming into conflict with the quota system.
It could be because NTFS stores small files inside the MFT rather than allocating separate storage space for the file. This means that a small file will only have the directory space charged against the owner until it gets to sufficient size to actually take up space outside the MFT. Do you get charged for the file creation itself? John Wiltshire
Current thread:
- [XFree86 3.3.6] fix for race conditions in xterm logfile handling, (continued)
- [XFree86 3.3.6] fix for race conditions in xterm logfile handling Branden Robinson (Mar 01)
- Re: [XFree86 3.3.6] fix for race conditions in xterm logfile handling Joel Klecker (Mar 02)
- ColdFusion Bug: Application.cfm shows full path vwaaijen (Mar 05)
- Re: [XFree86 3.3.6] fix for race conditions in xterm logfile handling Olaf Kirch (Mar 06)
- Re: Disk (over)quota in Windows 2000 Joe Melhado (Mar 01)
- Re: Disk (over)quota in Windows 2000 David LeBlanc (Mar 03)
- Re: Disk (over)quota in Windows 2000 Mikael Olsson (Mar 01)
- Re: Disk (over)quota in Windows 2000 Sarkos Georgios (Mar 01)
- Re: Disk (over)quota in Windows 2000 Curtis Anderson, CNE, MCSE (Mar 02)
- Re: Disk (over)quota in Windows 2000 Bret Piatt (Mar 01)
- Re: Disk (over)quota in Windows 2000 John Wiltshire (Mar 01)
- [XFree86 3.3.6] fix for race conditions in xterm logfile handling Branden Robinson (Mar 01)