Skip to content

Failing build as of permissions #101

Closed

Description

@bollenn

As of AppImage/appimagetool#138 our builds start to fail with permission errors like:

$ python-appimage build app --no-packaging -p 3.14 appimage



[2026-11-04 09:40:33,926] WARNING  Problem 95/109: /tmp/python-appimage-v0n95qi1/AppDir/usr/share/tcltk/tcl8.6
[2026-11-04 09:40:33,926] APPIMAGE        Problem: this directory has mode 0700 (rwx------), so some users (group and/or others) cannot read and execute it. AppImages are run by users other than the one who packaged them, who would get 'Permission denied'. It needs at least mode 0755 (rwxr-xr-x)
[2026-11-04 09:40:33,926] APPIMAGE        Fix:     chmod a+r,a+x '/tmp/python-appimage-v0n95qi1/AppDir/usr/share/tcltk/tcl8.6

I tried looking into this but it feels like the base python appimages already have incorrect permissions set, can you update those?

Work around for now is to go in 2 steps

python-appimage build app --no-packaging -p 3.14 appimage
python-appimage install appimagetool
export ARCH=x86_64 $(python-appimage which appimagetool) --no-appstream <my-app> <my-app>.AppImage

Activity

  1. added a commit that references this issue on Nov 4, 2026
    cc1dc82
  2. mxmlnkn commented on Nov 4, 2026

    @mxmlnkn
    Contributor

    The base images have the correct permissions as can be checked with:

    APPIMAGE=python3.15.1-cp315-cp315-manylinux2014_aarch64.AppImage
    unsquashfs -o $( 'grep' -abo hsqs "$APPIMAGE" | sed 's|:.*||' | tail -1 ) "$APPIMAGE"

    but --appimage-extract did not correctly "extract" those permissions. See AppImage/type2-runtime#157

  3. niess commented on Nov 5, 2026

    @niess
    Owner

    @bollenn The patch (from @mxmlnkn) has been pushed to PyPI under python-appimage 1.4.7.

  4. bollenn commented on Nov 5, 2026

    @bollenn
    Author

    Great, thx a lot @niess and @mxmlnkn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions