On Tue, Sep 12, 2006 at 04:00:47PM +0200, Peter Eisentraut wrote:
> I can confirm that the fix I proposed earlier
>
> DEB_FIXPERMS_EXCLUDE := lockmail.maildrop maildrop$$
>
> fixes the sudo-related permission problem.
Well, now that I tried it, it doesn't. It runs these commands, and
the ls shows what happens:
% fakeroot chmod g+s debian/maildrop/usr/bin/{lockmail.,}maildrop
% ls -l debian/maildrop/usr/bin/{lockmail.,}maildrop
-rwxr-sr-x 1 joy joy 10356 2006-09-17 11:01
debian/maildrop/usr/bin/lockmail.maildrop
-rwxr-sr-x 1 joy joy 162132 2006-09-17 11:01 debian/maildrop/usr/bin/maildrop
% fakeroot dh_fixperms -pmaildrop -X lockmail.maildrop -X maildrop$
% ls -l debian/maildrop/usr/bin/{lockmail.,}maildrop
-rwxr-sr-x 1 joy joy 10356 2006-09-17 11:01
debian/maildrop/usr/bin/lockmail.maildrop
-rwxr-xr-x 1 joy joy 162132 2006-09-17 11:01 debian/maildrop/usr/bin/maildrop
Notice how it continued to strip setgid from the file "maildrop",
whose name is supposed to match "maildrop$".
How is this supposed to work, again?
--
2. That which causes joy or happiness.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]