Merge pull request #138754 from rnhmjoj/vmware-fix

nixos/vmware-guest: fix setuid wrapper
This commit is contained in:
Michele Guerini Rocco 2021-09-21 08:36:04 +02:00 committed by GitHub
commit 5d76e62fd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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