Title: Binaries under bin directory lack executable permissions for the snap and .deb packages for Linux · Issue #1567 · processing/processing4 · GitHub
Open Graph Title: Binaries under bin directory lack executable permissions for the snap and .deb packages for Linux · Issue #1567 · processing/processing4
X Title: Binaries under bin directory lack executable permissions for the snap and .deb packages for Linux · Issue #1567 · processing/processing4
Description: Most appropriate sub-area of Processing 4? Build process, Export Processing version processing-4.5.6-1434 Operating system Debian 7.1.8-1 x86_64 GNU/Linux Bug description It seems like there are executable permission lacking for windress...
Open Graph Description: Most appropriate sub-area of Processing 4? Build process, Export Processing version processing-4.5.6-1434 Operating system Debian 7.1.8-1 x86_64 GNU/Linux Bug description It seems like there are ex...
X Description: Most appropriate sub-area of Processing 4? Build process, Export Processing version processing-4.5.6-1434 Operating system Debian 7.1.8-1 x86_64 GNU/Linux Bug description It seems like there are ex...
Opengraph URL: https://github.com/processing/processing4/issues/1567
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Binaries under bin directory lack executable permissions for the snap and .deb packages for Linux","articleBody":"### Most appropriate sub-area of Processing 4?\n\nBuild process, Export\n\n### Processing version\n\nprocessing-4.5.6-1434\n\n### Operating system\n\nDebian 7.1.8-1 x86_64 GNU/Linux\n\n### Bug description\n\nIt seems like there are executable permission lacking for windress for Processing for snap and for java for the .deb package.\n\nWhile using the snap build of Processing one is able to run sketches and export them as a Linux executable, but while trying to export a Windows executable an IOException is raised due to permission denial for `/snap/processing/39/opt/processing/lib/app/resources/modes/java/application/launch4j/bin/windres` in snap. As for the .deb build, one is not able to run any sketches at all due to the same Exception for `/opt/processing/lib/app/resources/jdk/bin/java`. These issues seemed to be linked to #1074.\n\nAs it can be seen for the snap build, the windres binary doesn't have executable permissions:\n\n```\n$: ls -lA /snap/processing/39/opt/processing/lib/app/resources/modes/java/application/launch4j/bin/windres\n-rw-r--r-- 1 root root 1124960 Jul 19 19:15 /snap/processing/39/opt/processing/lib/app/resources/modes/java/application/launch4j/bin/windres\n```\nAnd for the .deb package, the java library permissions seem to be:\n```\nls -lA /opt/processing/lib/app/resources/jdk/bin/java\n-rw-r--r-- 1 root root 16320 Jul 19 19:15 /opt/processing/lib/app/resources/jdk/bin/java\n```\n\nThe relevant error message in for the snap build case while trying to Export a sketch for Windows:\n```\nCaused by: java.io.IOException: Cannot run program \"/snap/processing/39/opt/processing/lib/app/resources/modes/java/application/launch4j/bin/windres\": error=13, Permission denied\n\tat java.base/java.lang.ProcessBuilder.start(Unknown Source)\n\tat java.base/java.lang.ProcessBuilder.start(Unknown Source)\n\tat java.base/java.lang.Runtime.exec(Unknown Source)\n\tat java.base/java.lang.Runtime.exec(Unknown Source)\n\tat net.sf.launch4j.Util.exec(Util.java:128)\n\t... 59 more\n```\n\nAnd the one for the .deb build case while trying to run a sketch:\n```\nCaused by: java.io.IOException: Cannot run program \"/opt/processing/lib/app/resources/jdk/bin/java\": error=13, Permission denied\n\tat java.base/java.lang.ProcessBuilder.start(Unknown Source)\n\tat java.base/java.lang.ProcessBuilder.start(Unknown Source)\n\tat java.base/java.lang.Runtime.exec(Unknown Source)\n\tat java.base/java.lang.Runtime.exec(Unknown Source)\n\tat processing.core.PApplet.exec(PApplet.java:3203)\n\t... 2 more\n```\n\nThe .deb package also fails to export a Windows executable for the same reasons for `/opt/processing/lib/app/resources/modes/java/application/launch4j/bin/windres`. \n\n### Steps to reproduce this\n\nFor the snap build:\n\n2. Create new sketch and save it.\n3. Go to: File → Export Application...\n4. Check the Windows (Intel 64-bit) option\n5. Click Export\n\nFor the .deb package:\n\n1. Create a new sketch.\n2. Attempt to run it.\n\n### snippet\n\n```processing\nvoid setup() { println(\"Hello World for Windows from Linux!\"); exit(); }\n```\n\n\n### Additional context\n\nI also tested the flatpak build and it seems to be in the same situation as with the snap build, but for the binary at `/app/lib/app/resources/modes/java/application/launch4j/bin/windres`.\nFor the .deb package, manually changing the permissions to all the files under `/opt/processing/lib/app/resources/modes/java/application/launch4j/bin/` seemed to have solved both the issue with running sketches and exporting an Windows executable successfully.\n\n### Would you like to work on the issue?\n\nNo, I’m just reporting the issue","author":{"url":"https://github.com/pedernal","@type":"Person","name":"pedernal"},"datePublished":"2026-08-23T21:15:30Z","url":"https://github.com/processing/processing4/issues/1567"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:0c7ffdb9-d434-ec05-b22e-36f2cedd4f35 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D4DA:2838DE:123564:1855F0:6B05F78F |
| html-safe-nonce | db4b0b2813b460faabb2db9a98205192f500b9f72a2d043d2751c36fad5aaffa |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENERBOjI4MzhERToxMjM1NjQ6MTg1NUYwOjZCMDVGNzhGIiwidmlzaXRvcl9pZCI6IjM2MjQ0NTQ1NjEzNzAzMzkyMTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | ad5441428073219f17e3dba095fff6c855e7f75b322d45d78480f63684f0b901 |
| hovercard-subject-tag | issue:5229129636 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/processing/processing4/1567/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0d3e6af206a360533a7d0eb5ac181d094c5bacdf93f62ec8de95f5d10948afcf/processing/processing4/issues/1567 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0d3e6af206a360533a7d0eb5ac181d094c5bacdf93f62ec8de95f5d10948afcf/processing/processing4/issues/1567 |
| og:image:alt | Most appropriate sub-area of Processing 4? Build process, Export Processing version processing-4.5.6-1434 Operating system Debian 7.1.8-1 x86_64 GNU/Linux Bug description It seems like there are ex... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | pedernal |
| hostname | github.com |
| expected-hostname | github.com |
| None | c214754a6652274794ed4e054a7b71be999d69843f103ba54893001d45010ece |
| turbo-cache-control | no-preview |
| go-import | github.com/processing/processing4 git https://github.com/processing/processing4.git |
| octolytics-dimension-user_id | 1617169 |
| octolytics-dimension-user_login | processing |
| octolytics-dimension-repository_id | 844382769 |
| octolytics-dimension-repository_nwo | processing/processing4 |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 844382769 |
| octolytics-dimension-repository_network_root_nwo | processing/processing4 |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7d164a4e71eb333b2b17fd5b17e18efb7855505c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width