Gentoo Archives: gentoo-portage-dev

From: Jason Stubbs <jstubbs@g.o>
To: gentoo-portage-dev@l.g.o
Subject: [gentoo-portage-dev] PATCH: Make lchown a no-op rather than aliasing to chown on Darwin (#98827)
Date: Mon, 18 Jul 2005 03:14:09
Message-Id: 200507181213.41595.jstubbs@gentoo.org
1 http://bugs.gentoo.org/show_bug.cgi?id=98827
2
3 Author: Jason Stubbs
4
5 Portage presently alters permissions of the target of a symlink rather
6 than the symlink itself on Darwin. As well as the possibility that
7 the target's permissions are modified incorrectly, there is also the
8 case that the symlink points somewhere on the live filesystem or
9 doesn't point anywhere at all. The former case will is definately
10 incorrect and the latter case will cause portage to fail with a
11 traceback. Making lchown a no-op should fix all these cases without
12 any regressions.
13
14 --
15 Jason Stubbs

Attachments

File name MIME type
98827_darwin_noop_lchown.patch text/x-diff

Replies

Subject Author
[gentoo-portage-dev] PATCH: Only use lchown on symlinks (#98827) Jason Stubbs <jstubbs@g.o>