lldb-mi don't have permision for running
Opened this issue · 0 comments
cxwx commented
I've searched open issues for similar requests
- Yes
I've manually reviewed logs to find potential errors
- Yes
I've recently downloaded the latest plugin version of mason.nvim
- Yes
Problem description
for macos arm.
cpptools
installed
I need to set
dap.configurations.cpp = {
...
MIMode = "lldb",
MIDebuggerPath= "lldb-mi",
}
the file of "/.local/share/nvim/mason/packages/cpptools/extension/debugAdapters/bin/OpenDebugAD7"
is OK rwxrwxrwx
but the file
~/.local/share/nvim/mason/packages/cpptools/extension/debugAdapters/lldb-mi/bin/lldb-mi
permission is wrong
.rw-rw-rw-
Expected behavior
automatically change permission of lldb-mi
to rwx
Steps to reproduce
mason install cpptools
Affected packages
cpptools
Neovim version (>= 0.7)
NVIM v0.9.5
Build type: Release
LuaJIT 2.1.1710088188
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/opt/homebrew/Cellar/neovim/0.9.5/share/nvim"
Run :checkhealth for more info
Operating system/version
Darwin cxumush 23.4.0 Darwin Kernel Version 23.4.0: Fri Mar 15 00:10:42 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_T6000 arm64
Healthcheck
==============================================================================
mason: require("mason.health").check()
mason.nvim ~
- OK mason.nvim version v1.10.0
- OK PATH: prepend
- OK Providers:
mason.providers.registry-api
mason.providers.client
- OK neovim version >= 0.7.0
mason.nvim [Registries] ~
- OK Registry `github.com/mason-org/mason-registry version: 2024-03-30-famous-singer` is installed.
mason.nvim [Core utils] ~
- OK unzip: `UnZip 6.00 of 20 April 2009, by Info-ZIP. Maintained by C. Spieler. Send`
- OK wget: `GNU Wget 1.24.5 built on darwin23.2.0.`
- OK curl: `curl 8.4.0 (x86_64-apple-darwin23.0) libcurl/8.4.0 (SecureTransport) LibreSSL/3.3.6 zlib/1.2.12 nghttp2/1.58.0`
- OK gzip: `Apple gzip 430.100.5`
- OK gtar: `tar (GNU tar) 1.35`
- OK bash: `GNU bash, version 5.2.26(1)-release (aarch64-apple-darwin23.2.0)`
- OK sh: `Ok`
mason.nvim [Languages] ~
- OK Go: `go version go1.22.1 darwin/arm64`
- OK Ruby: `ruby 2.6.10p210 (2022-04-12 revision 67958) [universal.arm64e-darwin23]`
- OK cargo: `cargo 1.76.0`
- OK PHP: `PHP 8.3.4 (cli) (built: Mar 12 2024 23:42:26) (NTS)`
- WARNING luarocks: failed to parse version
- ADVICE:
- Error: ...u/.local/share/nvim/lazy/mason.nvim/lua/mason/health.lua:214: attempt to compare number with nil
- OK node: `v21.7.1`
- OK Composer: `Composer version 2.7.2 2024-03-11 17:12:18`
- OK RubyGem: `3.0.3.1`
- OK julia: `julia version 1.10.2`
- OK python: `Python 3.12.2`
- OK java: `openjdk version "21.0.2" 2024-01-16`
- OK npm: `10.5.0`
- OK javac: `javac 21.0.2`
- OK pip: `pip 24.0 from /opt/homebrew/lib/python3.12/site-packages/pip (python 3.12)`
- OK python venv: `Ok`
mason.nvim [GitHub] ~
- OK GitHub API rate limit. Used: 0. Remaining: 60. Limit: 60. Reset: Sun Mar 31 03:12:22 2024.
Install and authenticate via gh-cli to increase rate limit.
Screenshots or recordings
No response