3
0
Fork 0
forked from mirrors/nixpkgs

nixos/vmware-guest: fix setuid wrapper

Since 904f68fb0, setuid/owner/group are required.
This commit is contained in:
rnhmjoj 2021-09-20 23:45:24 +02:00
parent 8e7ed326b8
commit 74c572d2f8
No known key found for this signature in database
GPG key ID: BFBAF4C975F76450

View file

@ -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/*";