-
Notifications
You must be signed in to change notification settings - Fork 584
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
New profile: nsxiv #6588
base: master
Are you sure you want to change the base?
New profile: nsxiv #6588
Conversation
935f21b
to
83332ff
Compare
etc/profile-m-z/nsxiv.profile
Outdated
include allow-bin-sh.inc | ||
|
||
include disable-devel.inc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
include allow-bin-sh.inc | |
include disable-devel.inc | |
include allow-bin-sh.inc | |
noblacklist ${HOME}/.cache/nsxiv | |
noblacklist ${HOME}/.config/nsxiv | |
include disable-common.inc | |
include disable-devel.inc |
Also, add the paths to disable-programs.inc.
And the following to "Initialization files" in disable-common.inc:
read-only ${HOME}/.config/nsxiv/exec
Note: It's important to include program-specific paths in the profiles (even if
commented) so that they are documented somewhere.
Also, note that without including disable-common.inc, the profile arguably does
not do all that much for security (as sensitive paths like ~/.bashrc and ~/.ssh
would remain available).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, add the paths to disable-programs.inc.
And the following to "Initialization files" in disable-common.inc:
read-only ${HOME}/.config/nsxiv/exec
Co-authored-by: Kelvin M. Klann <kmk3.code@protonmail.com>
Co-authored-by: Kelvin M. Klann <kmk3.code@protonmail.com>
https://nsxiv.codeberg.page/
Relates to #6580.