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

Re: lenny make-kpkg failure



Robert Reif wrote:

dpkg-deb: control directory has bad permissions 2755 (must be >=0755 and <=0775)
make[1]: *** [debian/linux-image-2.6.26] Error 2
make[1]: Leaving directory `/usr/src/sparc64/linux-2.6'
make: *** [binary/linux-image-2.6.26] Error 2


I fixed this problem by running: chmod -R a-s /usr/src

I didn't create /usr/src.  I guess it was created when I installed the
kernel source package.  Is this a problem with the kernel source
package?

I've not got a guaranteed-virgin Debian system to hand but I've certainly got a number where Debian kernel sources have never been installed- in fact where I've not knowingly told Debian to install any source packages.

Looking at one of those I see

$ stat /usr
  File: `/usr'
  Size: 4096            Blocks: 8          IO Block: 8192   directory
Device: 302h/770d       Inode: 128769      Links: 12
Access: (0755/drwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
..
$ stat /usr/src
  File: `/usr/src'
  Size: 4096            Blocks: 8          IO Block: 8192   directory
Device: 302h/770d       Inode: 130199      Links: 3
Access: (2775/drwxrwsr-x)  Uid: (    0/    root)   Gid: (   40/     src)

Thanks for the news about that annoying kernel bug being fixed.

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]


Reply to: