[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Wrong permissions



On Mon, Oct 30, 2000 at 02:45:54PM +0100, Josip Rodin wrote:

> On Mon, Oct 30, 2000 at 08:11:41AM +0000, Colin Watson wrote:
> > >If I run 'dpkg-buildpackage -rfakeroot' as root, files belong to root,
> > >which looks saner, but it doesn't ask for any GPG key. 
> > 
> > Install the devscripts package and use 'debuild' instead, which has the
> > added bonus that it automatically does a lintian check for you.
> 
> Actually, his problem is probably that he doesn't have GPG set up correctly,
> because dpkg-buildpackage would have run it otherwise, debuild isn't needed
> for that.

Perhaps the problem is that he was running dpkg-buildpackage _as root_, so it
was not finding his GPG key (which is probably in ~user/.gnupg, not
~root/.gnupg).

The correct way to use fakeroot is to run 'dpkg-buildpackage -rfakeroot' as a
normal user.

-- 
 - mdz



Reply to: