You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use Neovim sandboxed but it's not reading the contents of ~/.config/firejail--I see that the directory is read-only but when I open an existing file it's empty. I grep'd /etc/firejail but don't see anything that's making this directory read-only.
The only modification is the following in nvim.local on the latest version:
Also, I'm not sure if builtin Firejail profiles are intended to be usable out-of-the-box--I'm not sure how the the nvim.profile is useful if it can't edit files you would want to edit like most in ~/.config and your scripts in ~/bin.
P.S. I have sandboxed mpv and it should also have full access/usage to neovim (it launches neovim so I can take notes). Is there a straightforward way to include neovim's rules to give this access? I've tried adding the following to mpv.local (tried both beginning and end of mpv.local):
include nvim.local
include nvim.profile
but it's still launching nvim on a text file with restricted sandbox (errors accessing some nvim features).
If I run nvim sandboxed on the text file using the same nvim.local, it has full access (desired).
sandbox-ipcOpening links and talking to programs outside of the sandbox (see #6462)
1 participant
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to use Neovim sandboxed but it's not reading the contents of ~/.config/firejail--I see that the directory is read-only but when I open an existing file it's empty. I
grep'd /etc/firejail but don't see anything that's making this directory read-only.The only modification is the following in nvim.local on the latest version:
Output of firejail --debug /usr/bin/nvim ~/.config/firejail/nvim.local.
Also, I'm not sure if builtin Firejail profiles are intended to be usable out-of-the-box--I'm not sure how the the nvim.profile is useful if it can't edit files you would want to edit like most in ~/.config and your scripts in ~/bin.
P.S. I have sandboxed mpv and it should also have full access/usage to neovim (it launches neovim so I can take notes). Is there a straightforward way to include neovim's rules to give this access? I've tried adding the following to mpv.local (tried both beginning and end of mpv.local):
but it's still launching nvim on a text file with restricted sandbox (errors accessing some nvim features).
If I run nvim sandboxed on the text file using the same nvim.local, it has full access (desired).
Beta Was this translation helpful? Give feedback.
All reactions