Re: make-kpkg: permission denied making modules_image
- To: debian-user@lists.debian.org
- Subject: Re: make-kpkg: permission denied making modules_image
- From: Manoj Srivastava <srivasta@debian.org>
- Date: Tue, 01 Jul 2003 11:46:00 -0500
- Message-id: <[🔎] 8765mmci0n.fsf@glaurung.green-gryphon.com>
- In-reply-to: <20030630201758.GA32603@piper.madduck.net> (martin f. krafft's message of "Mon, 30 Jun 2003 22:17:58 +0200")
- References: <20030627165013.GA6342@diamond.madduck.net> <873chr1hge.fsf@mit.edu> <20030627165013.GA6342@diamond.madduck.net> <E19WkQX-0000Cr-00@localhost.localdomain> <20030627165013.GA6342@diamond.madduck.net> <20030629141507.3494c8d1.ronin2@bellatlantic.net> <20030630201758.GA32603@piper.madduck.net>
On Mon, 30 Jun 2003 22:17:58 +0200, martin f krafft <madduck@debian.org> said:
> also sprach David Z Maze <dmaze@debian.org> [2003.06.30.2141 +0200]:
>> > 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!
>> Try, for example:
>>
>> [...] export MODULE_LOC=$HOME/src/modules [...] Setting the
>> MODULE_LOC environment variable will tell make-kpkg to look
>> somewhere besides /usr/src/modules for kernel modules.
> I'd prefer not to have to do this. I know it's an option. Else the
> danger exists that I get stray module trees, or that the module tree
> might not be in sync...
So standardize on a location for your site.
> How are other people doing it?
I have /usr/local/src/kernel/modules
manoj
--
Women, deceived by men, want to marry them; it is a kind of revenge as
good as any other. Philippe De Remi
Manoj Srivastava <srivasta@debian.org> <http://www.debian.org/%7Esrivasta/>
1024R/C7261095 print CB D9 F4 12 68 07 E4 05 CC 2D 27 12 1D F5 E8 6E
1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C
Reply to: