diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index fba9304..2d592f4 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -57,10 +57,9 @@ parts: - libxml2 - libxslt1.1 - zlib1g - override-stage: | - snapcraftctl stage - chmod 0755 ./usr/local/lib/python3.8 - chmod 0755 ./usr/local/lib/python3.8/dist-packages + install: | + # Ensure proper permissions for Python directories + find $SNAPCRAFT_PART_INSTALL/usr/local/lib/python3.8 -type d -exec chmod 0755 {} \; apps: latexml: