This bug was fixed in the package linux - 6.3.0-7.7
---------------
linux (6.3.0-7.7) mantic; urgency=medium
* mantic/linux: 6.3.0-7.7 -proposed tracker (LP: #2023297)
* Packaging resync (LP: #1786013)
- debian/dkms-versions -- update from kernel-versions (main/master)
-- Paolo Pisati <[email protected]> Thu, 08 Jun 2023 16:44:41
+0200
** Changed in: linux (Ubuntu)
Status: Confirmed => Fix Released
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2015498
Title:
Debian autoreconstruct Fix restoration of execute permissions
Status in linux package in Ubuntu:
Fix Released
Status in linux source package in Bionic:
Fix Released
Status in linux source package in Focal:
Fix Released
Status in linux source package in Jammy:
Fix Released
Status in linux source package in Kinetic:
Fix Released
Status in linux source package in Lunar:
Fix Released
Bug description:
SRU justification
[Impact]
Debian source package diffs cannot represent that a file should
be executable.
gen-auto-reconstruct detects when a commit adds a script that is supposed to
be invoked during the build and restores the execute permissions in the
reconstruct script by adding `chmod +x $file`.
But, if a file removes its execute permission, this will change it back.
This happened in the last jammy release (version 5.15.0-70.77) where a commit
from upstream
removed the execute permission for a header file but then our scripts brought
it back.
[Fix]
Andy proposed the following fix
https://dpaste.com/6SJ8YR3BM
Basically it checks if the permission was added or removed and uses either +x
or -x.
[Test plan]
Easily tested with jammy-kvm, latest release where a rebase picked this commit
"treewide: fix up files incorrectly marked executable" where
`drivers/gpu/drm/vmwgfx/vmwgfx_msg_arm64.h` changed its permission from 755 to
644 (removed execute).
When debian packages are prepared, you'll notice the file has changed its
permission back to 755.
With the fix, it should be the same.
[Regression potential]
Low, it is a small fix. Scripts will still have execute permission.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2015498/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp