From owner-freebsd-bugs Fri Dec 10 17:30: 6 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 599B414E95 for ; Fri, 10 Dec 1999 17:30:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id RAA66849; Fri, 10 Dec 1999 17:30:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id 5BED014E64; Fri, 10 Dec 1999 17:25:01 -0800 (PST) Message-Id: <19991211012501.5BED014E64@hub.freebsd.org> Date: Fri, 10 Dec 1999 17:25:01 -0800 (PST) From: timlee@netcom.com To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: bin/15410: edquota -p copies current usage as well as quota Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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