{"action":"opened","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/18089","repository_url":"https://api.github.com/repos/NixOS/nixpkgs","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/18089/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/18089/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/18089/events","html_url":"https://github.com/NixOS/nixpkgs/issues/18089","id":173825128,"number":18089,"title":"usermod does not modify ownership in /nix/var/nix/","user":{"login":"alexeymuranov","id":712698,"avatar_url":"https://avatars.githubusercontent.com/u/712698?v=3","gravatar_id":"","url":"https://api.github.com/users/alexeymuranov","html_url":"https://github.com/alexeymuranov","followers_url":"https://api.github.com/users/alexeymuranov/followers","following_url":"https://api.github.com/users/alexeymuranov/following{/other_user}","gists_url":"https://api.github.com/users/alexeymuranov/gists{/gist_id}","starred_url":"https://api.github.com/users/alexeymuranov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexeymuranov/subscriptions","organizations_url":"https://api.github.com/users/alexeymuranov/orgs","repos_url":"https://api.github.com/users/alexeymuranov/repos","events_url":"https://api.github.com/users/alexeymuranov/events{/privacy}","received_events_url":"https://api.github.com/users/alexeymuranov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-29T17:19:49Z","updated_at":"2016-08-29T17:19:49Z","closed_at":null,"body":"## Issue description\r\n\r\n`usermod` does not automatically adjust permissions in `/nix/var/nix/`.\r\n\r\n### Steps to reproduce\r\n\r\n```shell\r\nusermod -u 1001 <username with UID=1000>\r\n```\r\n\r\nInstalling as `username` with `nix-env -i` will stop working because of wrong ownership of some files in `/nix/var/nix/`.\r\n\r\n## Technical details\r\n\r\n* System: (NixOS 16.03: `nixos-version`)\r\n* Nix version: (run `nix-env --version`)\r\n* Nixpkgs version: (run `nix-instantiate --eval '<nixpkgs>' -A lib.nixpkgsVersion`)\r\n"}}
{"actor":{"display_login":"alexeymuranov"}}