Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Dec 1999 17:25:01 -0800 (PST)
From:      timlee@netcom.com
To:        freebsd-gnats-submit@freebsd.org
Subject:   bin/15410: edquota -p copies current usage as well as quota
Message-ID:  <19991211012501.5BED014E64@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         15410
>Category:       bin
>Synopsis:       edquota -p copies current usage as well as quota
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 10 17:30:01 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Timothy J. Lee
>Release:        3.2-19990726-STABLE i386
>Organization:
>Environment:
FreeBSD 3.2-19990726-STABLE i386 with "options QUOTA" in the kernel
configuration file.  Filesystems are FFS with softupdates.  /etc/fstab
specifies userquota, and quotacheck has been run.
>Description:
"edquota -p someuser otherusr" copies someuser's current usage as well
as quotas to the otherusr.  Need to run quotacheck again to fix the
current usage.
>How-To-Repeat:
quota -v someuser
quota -v otherusr
edquota -p someuser otherusr
quota -v otherusr
>Fix:
Workaround:  run quotacheck after using "edquota -p".
Fix:  ???  Code in setquota() in
/usr/src/sys/ufs/ufs/ufs_quota.c looks like it should
ignore changes in the current usage (edquota does not
check the current usage values when copying from one
user to another with -p).

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991211012501.5BED014E64>