Skip to content

Commit

Permalink
fix caps.keep/dac-overwrite
Browse files Browse the repository at this point in the history
  • Loading branch information
startx2017 committed Sep 5, 2017
1 parent 1649708 commit b3f3992
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,8 @@ smithsohu (https://github.com/smitsohu)
- fixed device discovery for simple-scan
- add novideo support in many profiles
- improve server profiles, harden musescore
- snap profile cleanup
- tighten some capability sets further
soredake (https://github.com/soredake)
- fix steam startup with >=llvm-4
SpotComms (https://github.com/SpotComms)
Expand Down
4 changes: 3 additions & 1 deletion src/firejail/sandbox.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,9 @@ static void set_caps(void) {
caps_default_filter();

// drop discretionary access control capabilities for root sandboxes
caps_drop_dac_override();
// if caps.keep, the user has to set it manually in the list
if (!arg_caps_keep)
caps_drop_dac_override();
}

void save_nogroups(void) {
Expand Down

0 comments on commit b3f3992

Please sign in to comment.