v1.27.105 Linux - /opt/brave/crashpad_handler needs chmod 755 (rwxr-xr-x) permissions
See original GitHub issueDescription
Linux client - /opt/brave/crashpad_handler needs chmod 755 (rwxr-xr-x) before brave will start.
Steps to Reproduce
- Download and Install v1.27.105 binary from linux zip.
- run brave.
- watch it fail with
[13127:13127:0715/180320.407098:FATAL:double_fork_and_exec.cc(131)] execv /opt/brave/crashpad_handler: Permission denied (13)
Actual result:
[13127:13127:0715/180320.407098:FATAL:double_fork_and_exec.cc(131)] execv /opt/brave/crashpad_handler: Permission denied (13)
Expected result:
Brave starts and runs like every stable version before this.
Reproduces how often:
Easily reproduced. Brave will fail to start if this is not changed.
Brave version (brave://version info)
1.27.105
Version/Channel Information:
- Can you reproduce this issue with the current release? Yes
Other Additional Information:
Typing “sudo chmod 755 /opt/brave/crashpad_handler” resolves the issue, and manually setting permissions on the file was added to this version’s ebuild in Gentoo to work-around this issue in the package.
Miscellaneous Information:
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Linux permissions: making sense of 755 and rwxr-xr-x
Changing Linux permissions using symbolic notation. Using the chmod command, one can add or remove permissions from a file or a directory. The ......
Read more >Modify permissions to -rwxr-xr-x [duplicate] - Ask Ubuntu
No you will need to run the command using the change permission program chmod like so: chmod 755 filename. Explained: change the permission...
Read more >chmod - file permissions
Use the chmod (change mode) command to change permissions on files and directories. ... The file permissions for the directory public_html are rwxr-xr-x...
Read more >What is the Meaning of chmod 755, and How to execute and ...
In Linux, chmod is a built-in command that manages the access permission of file objects. The number defined after chmod represents the permissions....
Read more >What does file permission 755 mean | Edureka Community
When you perform chmod 755 filename command you allow everyone to read and execute the file, the owner is allowed to write to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yeah, same here, can’t repro on up-to-date Arch Linux with the same zip file. The file in question is executable and the browser works as expected.
@jason-oliveira Hi Jason, thanks for the report but I’m a bit confused because I couldn’t reproduce the problem myself, not even using exactly the same link you provide in the description (https://github.com/brave/brave-browser/releases/download/v1.27.105/brave-browser-1.27.105-linux-amd64.zip), see below:
Downloading the ZIP file
Unzipping the file
Listing the uncompressed files
Launching brave without issues
…which results on this:
@jason-oliveira How are you uncompressing the ZIP file? FWIW I got exactly the same results using unzip from the command line as well as GNOME Archive Manager 3.38.1, so I’m really surprised you’re getting different results. It sounds as something like
umask
was messing up your permissions but still very surprising.If you could provide additional information in how you exactly extract things, and which versions of software components you’re using that would be helpful. Thanks and sorry not to have an answer for you right now.