Date: Wed, 16 Aug 2006 12:50:25 GMT From: Spencer Minear <spencer_minear@securecomputing.com> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/101660: restore(8) does not preserve uid and gid on short symlinks Message-ID: <200608161250.k7GCoPSd064230@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/101660; it has been noted by GNATS. From: Spencer Minear <spencer_minear@securecomputing.com> To: "Andrey V. Elsukov" <bu7cher@yandex.ru> Cc: bug-followup@FreeBSD.org, minear@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@securecomputing.com 2340 Energy Park Drive (651) 628-2756 St. Paul, MN 55108 U.S.A. (651) 628-2701 (fax) ---------------------------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608161250.k7GCoPSd064230>