Gentoo Archives: gentoo-portage-dev

From: Jason Stubbs <jstubbs@g.o>
To: gentoo-portage-dev@l.g.o
Subject: [gentoo-portage-dev] PATCH: Only use lchown on symlinks (#98827)
Date: Tue, 19 Jul 2005 14:28:53
Message-Id: 200507192327.54222.jstubbs@gentoo.org
In Reply to: [gentoo-portage-dev] PATCH: Make lchown a no-op rather than aliasing to chown on Darwin (#98827) by Jason Stubbs
1 On Monday 18 July 2005 12:13, Jason Stubbs wrote:
2 > http://bugs.gentoo.org/show_bug.cgi?id=98827
3 >
4 > Making lchown a no-op should fix all these cases without any regressions.
5
6 Marius pointed out that lchown is currently used on regular files as well as
7 symlinks. This patch separates the usage of os.chown and lchown such that
8 os.chown is only used on non-symlinks and lchown is only used on symlinks.
9
10 --
11 Jason Stubbs

Attachments

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