diff options
author | Michele Guerini Rocco <rnhmjoj@users.noreply.github.com> | 2021-09-21 08:36:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-21 08:36:04 +0200 |
commit | 5d76e62fd036d35fa026365ded98b3b7d6454160 (patch) | |
tree | de5d8a67063b5dc65d926963d81f53df5c4f1a18 /nixos | |
parent | 69a9d335f633ef221327821089877c98004b70bc (diff) | |
parent | 74c572d2f8542142907696eda82f8c4ced383045 (diff) |
Merge pull request #138754 from rnhmjoj/vmware-fix
nixos/vmware-guest: fix setuid wrapper
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/virtualisation/vmware-guest.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/nixos/modules/virtualisation/vmware-guest.nix b/nixos/modules/virtualisation/vmware-guest.nix index 9f5e183c7c58f..7b25ffc440f8b 100644 --- a/nixos/modules/virtualisation/vmware-guest.nix +++ b/nixos/modules/virtualisation/vmware-guest.nix @@ -52,7 +52,12 @@ in } ]; - security.wrappers.vmware-user-suid-wrapper.source = "${open-vm-tools}/bin/vmware-user-suid-wrapper"; + security.wrappers.vmware-user-suid-wrapper = + { setuid = true; + owner = "root"; + group = "root"; + source = "${open-vm-tools}/bin/vmware-user-suid-wrapper"; + }; environment.etc.vmware-tools.source = "${open-vm-tools}/etc/vmware-tools/*"; |