Date: Sat, 13 Jun 1998 23:40:33 +0200 (CEST) From: aagero@Norway.EU.net To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: bin/6939: wrong type for userid used in restore(8) Message-ID: <199806132140.XAA15897@aage.eunet.no>
index | next in thread | raw e-mail
>Number: 6939
>Category: bin
>Synopsis: restore does not set the correct uid on directories where uid > 32767
>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: Sat Jun 13 14:50:01 PDT 1998
>Last-Modified:
>Originator: Åge Røbekk
>Organization:
EUnet Norge AS
>Release: FreeBSD 2.2.6-STABLE i386
>Environment:
2.2.6-STABLE
>Description:
Restore(8) uses a signed short as the type for uids in directories, which
hands negative values to chown() when the userid goes beyond 32767 (2^15 - 1)
The net effect is that directories end up with the wrong userid, making
restores on systems with lots of users problematic.
>How-To-Repeat:
restore a dump with userids > 32767
>Fix:
Merge revision 1.8 of src/sbin/restore/dirs.c from current.
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806132140.XAA15897>
