bin/101660: restore(8) does not preserve uid and gid on short
symlinks
Spencer Minear
spencer_minear at securecomputing.com
Wed Aug 16 12:50:26 UTC 2006
The following reply was made to PR bin/101660; it has been noted by GNATS.
From: Spencer Minear <spencer_minear at securecomputing.com>
To: "Andrey V. Elsukov" <bu7cher at yandex.ru>
Cc: bug-followup at FreeBSD.org, minear at securecomputing.com
Subject: Re: bin/101660: restore(8) does not preserve uid and gid on short
symlinks
Date: Wed, 16 Aug 2006 07:38:59 -0500
The change you have is logically consistent with the change I put into
our code tree a while back and it has proven to work fine and solved
the problem I found.
The only differences are that I used, pid_t and gid_t in the variable
definitions, and I the values for the two new variables on function
entry at the same time we get all of the other values out of curfile
for later use.
Thus, though I have not run your exact code, I believe it will fix the
problem.
-- Spence
---------------------------------------------------------------
The information contained in this email message may be privileged,
confidential and protected from disclosure. If you are not the
intended recipient, any review, dissemination, distribution or
copying is strictly prohibited. If you have received this email
message in error, please notify the sender by reply email and
delete the message and any attachments.
Spencer Minear Ph. D. Secure Computing Corp.
minear at securecomputing.com 2340 Energy Park Drive
(651) 628-2756 St. Paul, MN 55108 U.S.A.
(651) 628-2701 (fax)
---------------------------------------------------------------
More information about the freebsd-bugs
mailing list