Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.19.0 standalone packages have wrong permission #256

Closed
yhatt opened this issue Jul 18, 2020 · 1 comment · Fixed by #257
Closed

v0.19.0 standalone packages have wrong permission #256

yhatt opened this issue Jul 18, 2020 · 1 comment · Fixed by #257
Labels
bug Something isn't working

Comments

@yhatt
Copy link
Member

yhatt commented Jul 18, 2020

Unpacked standlone binary for macOS and Linux will not work correctly due to wrong permissions.

$ ls -l
total 445808
--wxrw--wt  1 yhatt  staff  112802551  7 19 02:16 marp
-rwxr-xr-x@ 1 yhatt  staff  115445966  7 10 00:44 marp-v0.18.3
$ ./marp
internal/fs/utils.js:230
    throw err;
    ^

Error: EACCES: permission denied, open '/Users/yhatt/Downloads/marp'
    at Object.openSync (fs.js:458:3)
    at internal/bootstrap/pkg.js:35:17
    at internal/bootstrap/pkg.js:43:4
    at internal/bootstrap/pkg.js:44:2 {
  errno: -13,
  syscall: 'open',
  code: 'EACCES',
  path: '/Users/yhatt/Downloads/marp'
}

Require running chmod 755 ./marp to work Marp CLI v0.19.0. I'm going to replace assets for v0.19.0 that have wrong permission.

@yhatt yhatt added the bug Something isn't working label Jul 18, 2020
@yhatt
Copy link
Member Author

yhatt commented Jul 18, 2020

Updated v0.19.0 assets for macOS and Linux to new package, and confirmed they are working now. I'm going to fix an essential issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant