On Sun, Sep 17, 2006 at 11:09:53AM +0200, Josip Rodin 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?

In any event, I'm removing this unpredictable usage of -X from my rules
file and instead just doing the chmod/chgrp after dh_fixperms (via the
binary-predeb/% rule in cdbs).

-- 
     2. That which causes joy or happiness.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to