[Nix-dev] 'Cannot kill processes' when using build users group on snow leopard
Nathaniel Griswold
griswold at cs.wisc.edu
Wed Mar 17 20:10:07 CET 2010
Anyone had any luck getting build user groups working on snow leopard?
dscl / -create /Groups/nixbuilders
dscl / -create /Groups/nixbuilders PrimaryGroupID 50000
dscl / -create /Groups/nixbuilders Password '*'
dscl / -create /Users/nixbuilder1
dscl / -create /Users/nixbuilder1 UniqueID 50001
dscl / -create /Users/nixbuilder1 UserShell /usr/bin/false
dscl / -create /Users/nixbuilder1 NFSHomeDirectory /var/empty
dscl / -create /Users/nixbuilder1 Password '*'
reverse:nixpkgs griswold$ id nixbuilder1
uid=50001(nixbuilder1) gid=4294967294(nobody)
groups=4294967294(nobody),402(com.apple.sharepoint.group.1),61(localaccounts),12(everyone),50000(nixbuilders),403(com.apple.sharepoint.group.2)
With nix.conf containing the following --
...
build-users-group = nixbuilders
...
reverse:nixpkgs griswold$ nix-build -A git
...
error: cannot kill processes for uid `50001'
-nate
More information about the nix-dev
mailing list