Debian autoreconstruct Fix restoration of execute permissions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
Undecided
|
Unassigned | ||
Kinetic |
Fix Released
|
Undecided
|
Unassigned | ||
Lunar |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
SRU justification
[Impact]
Debian source package diffs cannot represent that a file should
be executable.
gen-auto-
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:/
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/
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.
CVE References
description: | updated |
Changed in linux (Ubuntu Bionic): | |
status: | Incomplete → Fix Committed |
Changed in linux (Ubuntu Focal): | |
status: | Incomplete → Fix Committed |
Changed in linux (Ubuntu Jammy): | |
status: | Incomplete → Fix Committed |
Changed in linux (Ubuntu Kinetic): | |
status: | Incomplete → Fix Committed |
Changed in linux (Ubuntu Lunar): | |
status: | Incomplete → Confirmed |
tags: |
added: verification-done-bionic verification-done-focal verification-done-jammy verification-done-kinetic removed: verification-needed-bionic verification-needed-focal verification-needed-jammy verification-needed-kinetic |
tags: |
added: verification-done-focal verification-done-kinetic removed: verification-needed-focal verification-needed-kinetic |
tags: |
added: verification-done-focal verification-done-focal-linux-aws-5.15 verification-done-jammy verification-done-kinetic verification-done-lunar removed: verification-needed-focal verification-needed-focal-linux-aws-5.15 verification-needed-jammy verification-needed-kinetic verification-needed-lunar |
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 2015498
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.