AppImage Error: SUID Not Configured Correctly
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.3k
- Forks
- 66
- PR merge metrics
- No merged PRs in 30d
Description
Duplicate of #15 ; However, running sudo sysctl kernel.unprivileged_userns_clone=1 and --no-sandbox did not work.
kawanerio@KawaneLinux:~/Downloads$ /home/kawanerio/Downloads/PanWriter-0.8.9.AppImage
[847671:0711/182008.205108:FATAL:setuid_sandbox_host.cc(163)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /tmp/.mount_PanWriGdG5Au/chrome-sandbox is owned by root and has mode 4755.
Trace/breakpoint trap (コアダンプ)
Tried running with --no-sandbox parameter, but now the application just hangs:
kawanerio@KawaneLinux:~/Downloads$ /home/kawanerio/Downloads/PanWriter-0.8.9.AppImage --no-sandbox
Error loading or parsing YAML file.ENOENT: no such file or directory, open '/home/kawanerio/.config/PanWriterUserData/settings.yaml'
Checking for update
Generated new staging user ID: 6a9ceadd-0f0c-5b76-b1e6-831929f7a687
Update for version 0.8.9 is not available (latest version: 0.8.9, downgrade is disallowed).
checkForUpdatesAndNotify called, downloadPromise is null
Upon visiting issue #15 , I've ran the following command: sudo sysctl kernel.unprivileged_userns_clone=1, however, the AppImage still fails to launch:
kawanerio@KawaneLinux:~/Downloads sudo sysctl kernel.unprivileged_userns_clone=1
[sudo] kawanerio のパスワード:
kernel.unprivileged_userns_clone = 1
kawanerio@KawaneLinux:~/Downloads$ /home/kawanerio/Downloads/PanWriter-0.8.9.AppImage
[849260:0711/182524.771993:FATAL:setuid_sandbox_host.cc(163)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /tmp/.mount_PanWrilgmgEq/chrome-sandbox is owned by root and has mode 4755.
Trace/breakpoint trap (コアダンプ)
Tried running with --no-sandbox parameter once again after the sudo sysctl kernel.unprivileged_userns_clone=1, but still hangs:
kawanerio@KawaneLinux:~/Downloads$ /home/kawanerio/Downloads/PanWriter-0.8.9.AppImage --no-sandbox
Error loading or parsing YAML file.ENOENT: no such file or directory, open '/home/kawanerio/.config/PanWriterUserData/settings.yaml'
Checking for update
Update for version 0.8.9 is not available (latest version: 0.8.9, downgrade is disallowed).
checkForUpdatesAndNotify called, downloadPromise is null
I am using Ubuntu.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the AppImage launch command and the related issue #15, then compare the SUID sandbox failure with the repeated --no-sandbox output. The issue is resolved when the Ubuntu AppImage launches without the chrome-sandbox error or hanging after the missing settings.yaml message.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- electron, typescript, ubuntu
- Domain
- desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100