Gentoo Archives: gentoo-portage-dev

From: Jason Stubbs <jstubbs@g.o>
To: gentoo-portage-dev@l.g.o
Subject: [gentoo-portage-dev] PATCH: Don't protect the permissions on symlinks (#94199)
Date: Mon, 18 Jul 2005 03:05:13
Message-Id: 200507181204.49467.jstubbs@gentoo.org
1 http://bugs.gentoo.org/show_bug.cgi?id=94199
2
3 Author: Harald van Dijk.
4
5 I'm for putting this one in. The root issue is sandbox (incorrectly in
6 this case?) resolving the symlink and checking if the target can be
7 modified. However, the modification actually applies to the symlink
8 rather than the target.
9
10 Either way, the save and restore is only in place to prevent the
11 dropping of SUID bits upon the chown/chgrp. As these SUID bits don't
12 matter for symlinks anyway, this should not have any side-effects.
13
14 --
15 Jason Stubbs

Attachments

File name MIME type
94199_ignore_symlink_perms.patch text/x-diff