From a1f6bdf414f283854aacd57c7f74b8ac3eed292c Mon Sep 17 00:00:00 2001 From: netblue30 Date: Fri, 3 Jun 2022 07:52:49 -0400 Subject: removed enforcement of nonewprivs for --noprofile --- src/firejail/main.c | 2 -- src/man/firejail.txt | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'src') diff --git a/src/firejail/main.c b/src/firejail/main.c index e1f19dd14..7344be23a 100644 --- a/src/firejail/main.c +++ b/src/firejail/main.c @@ -1883,8 +1883,6 @@ int main(int argc, char **argv, char **envp) { arg_noprofile = 1; // force keep-config-pulse in order to keep ~/.config/pulse as is arg_keep_config_pulse = 1; - // force nonewprivs - arg_nonewprivs = 1; } else if (strncmp(argv[i], "--ignore=", 9) == 0) { if (custom_profile) { diff --git a/src/man/firejail.txt b/src/man/firejail.txt index 5f352c843..a18b53fea 100644 --- a/src/man/firejail.txt +++ b/src/man/firejail.txt @@ -1696,7 +1696,7 @@ Disable printers. .TP \fB\-\-noprofile -Do not use a security profile. nonewprivs is enforced for this option. +Do not use a security profile. .br .br -- cgit v1.2.3-70-g09d2