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
Hello,
Could you advise an approach or configuration settings to run lazy for the case when my /home partition is mounted with 'noexec' flag? Currently all the lazy plugins and parsers are not working for me in this setup; the .so files can't run/execute because of the 'noexec' flag on the partition. Removing the flag and a reboot solves the issue. However, I'd like to keep /home with 'noexec'.
I was thinking of setting the standard data path to other partition, e.g. with an alias for nvim like this:
alias nvim='XDG_DATA_HOME=/other-partition-without-noexec/share/nvim nvim'
My (may be incorrect) understanding is that, though nvim is installed as /usr/bin/nvim , lazy is still considered as a separate application and needs to run / be executable from the XDG_DATA_HOME location, which is by default in /home, in ~/.local/share/nvim
I'm not an expert in this, but my confusion comes from the fact that other application running also from /usr/bin, /usr/bin/firefox - is capable of running the crashrecovery.so files stored in /home partition.
Thank you!
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
-
Hello,
Could you advise an approach or configuration settings to run lazy for the case when my /home partition is mounted with 'noexec' flag? Currently all the lazy plugins and parsers are not working for me in this setup; the .so files can't run/execute because of the 'noexec' flag on the partition. Removing the flag and a reboot solves the issue. However, I'd like to keep /home with 'noexec'.
I was thinking of setting the standard data path to other partition, e.g. with an alias for nvim like this:
alias nvim='XDG_DATA_HOME=/other-partition-without-noexec/share/nvim nvim'
My (may be incorrect) understanding is that, though nvim is installed as /usr/bin/nvim , lazy is still considered as a separate application and needs to run / be executable from the XDG_DATA_HOME location, which is by default in /home, in ~/.local/share/nvim
I'm not an expert in this, but my confusion comes from the fact that other application running also from /usr/bin, /usr/bin/firefox - is capable of running the crashrecovery.so files stored in /home partition.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions