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

Re: make-kpkg: permission denied making modules_image



Package: kernel-package
Version: 8.040
Severity: normal

I am filing this as a bug.

also sprach martin f krafft <madduck@debian.org> [2003.06.30.2217 +0200]:
> > fakeroot make-kpkg --options
> 
> How will that help. It is actually trying to create a file under
> /usr/src while being called as a non-root user. fakeroot won't
> magically allow that...
> 
> But as others have suggested the same thing, I am going to give it
> a whirl... I'd still be interested on why this would make it work...

As I had suspected, the error persists.

I thus argue that make-kpkg gives the user a false impression of
what is possible. MODULE_LOC is included in the manpage, but nowhere
is there a hint about having to be root when using make-kpkg to
build module DEBs.

I wouldn't mind having this fixed in make-kpkg, but if all I get is
an amendment in the manpage, so it be...

I get this during modules-image build as a normal user, having given
--rootcmd fakeroot as well as having tried to simply invoke
make-kpkg as a child of fakeroot:

> > >   cp: cannot create regular file
> > >   `/usr/src/modules/nvidia/debian/control': Permission denied
> > 
> > Right: with the default setup, the user who runs make-kpkg needs write
> > access to /usr/src/modules, or you need to run under sudo.
> 
> what??? this must be a joke? /usr can be mounted read-only!

Thanks,

-- 
Please do not CC me when replying to lists; I read them!
 
 .''`.     martin f. krafft <madduck@debian.org>
: :'  :    proud Debian developer, admin, and user
`. `'`
  `-  Debian - when you have better things to do than fixing a system
 
Invalid PGP subkeys? Use subkeys.pgp.net as keyserver!

Attachment: pgpYRwPa1UOan.pgp
Description: PGP signature


Reply to: