diff options
author | The Fox in the Shell <KellerFuchs@hashbang.sh> | 2016-06-18 17:36:53 +0200 |
---|---|---|
committer | The Fox in the Shell <KellerFuchs@hashbang.sh> | 2016-06-18 17:36:53 +0200 |
commit | 91bca369232cb075d7a46a7218e1f7a9736d6360 (patch) | |
tree | 09191707acfc67c778768f27a6ef3559a1be43a2 | |
parent | disable-common: Add ZSH-related init files (diff) | |
download | firejail-91bca369232cb075d7a46a7218e1f7a9736d6360.tar.gz firejail-91bca369232cb075d7a46a7218e1f7a9736d6360.tar.zst firejail-91bca369232cb075d7a46a7218e1f7a9736d6360.zip |
disable-common: Make ~/.profile read-only
Several shells, including Bash, fallback to ~/.profile
if their specific profile file does not exist.
-rw-r--r-- | etc/disable-common.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/disable-common.inc b/etc/disable-common.inc index 4a8a379e5..aebf099af 100644 --- a/etc/disable-common.inc +++ b/etc/disable-common.inc | |||
@@ -74,6 +74,7 @@ read-only ${HOME}/.zsh_files | |||
74 | read-only ${HOME}/.tcshrc | 74 | read-only ${HOME}/.tcshrc |
75 | read-only ${HOME}/.cshrc | 75 | read-only ${HOME}/.cshrc |
76 | read-only ${HOME}/.csh_files | 76 | read-only ${HOME}/.csh_files |
77 | read-only ${HOME}/.profile | ||
77 | 78 | ||
78 | # Initialization files that allow arbitrary command execution | 79 | # Initialization files that allow arbitrary command execution |
79 | read-only ${HOME}/.mailcap | 80 | read-only ${HOME}/.mailcap |