• dh_fixperms operation not permitted error

    From Guillem Jover@21:1/5 to Victor Yeo on Fri Oct 23 15:40:01 2020

    On Mon, 2020-10-19 at 08:45:20 +0000, Victor Yeo wrote:
    When I run the command dh_fixperms:
    dh_fixperms -plinux-buildinfo-5.4.24-050401-generic -X/boot/
    I see the error below:

    chown: changing ownership of 'debian/linux-headers-5.4.24-050401-generic/usr/lib': Operation not permitted

    Running as root, it works fine.

    This command requires (pseudo-)root privileges (either fakeroot, sudo
    or building as root, with the last two being discouraged), or the
    packaging adapted to use the rootless-builds.txt support.


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)