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

Re: dh_fixperms operation not permitted error


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.


Reply to: