Repository navigation
Fix AppDir permissions before packaging - #102
Merged
Merged
Conversation
The AppImage runtime's --appimage-extract creates directories with mode 0700.
Repackaging a base image therefore fails with recent appimagetool versions:
ERROR: .../AppDir
Problem: this directory has mode 0700 (rwx------) ...
The base images themselves store 0755 directories, as can be seen with:
APPIMAGE=python3.15.1-cp315-cp315-manylinux2014_aarch64.AppImage
unsquashfs -o $( 'grep' -abo hsqs "$APPIMAGE" | sed 's|:.*||' | tail -1 ) "$APPIMAGE"
So, updating them would not help. Normalize the extracted AppDir to the
equivalent of 'chmod -R a+rX' before packaging.
Fixes niess#101
Owner
|
hello @mxmlnkn, thank you for this fix :) |
|
@niess I confirm the fix, mind making a release including this fix? |
Owner
|
@bollenn Done! (didn't see your post there). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #101