]> git.donarmstrong.com Git - debhelper.git/commit
r320: Fixed a rather esoteric bug: If a file had multiple hard links, and was
authorjoey <joey>
Tue, 30 Nov 1999 08:26:30 +0000 (08:26 +0000)
committerjoey <joey>
Tue, 30 Nov 1999 08:26:30 +0000 (08:26 +0000)
commitf2cb401a50f9f0dbc84195867c6f371b59333ad6
treeaa21cc00f4f82547f868aec53438fe35ca69bfcc
parentcb5f6ab45790a7131bfbdb46f257dcb5b1fb5c2c
r320: Fixed a rather esoteric bug: If a file had multiple hard links, and was
suid, suidregister detected all the hard links as files that need to be
registered. It looped, registering the first link, and then removing its
suid bit. This messed up the registration of the other had links, since
their permissions were now changed, leading to unpredictable results. The
fix is to just not remove suid bits until all files have been registered.
dh_suidregister