mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 04:33:57 +00:00
0f0929f4aa
Invoke `install` separately for each directory to get ownership right -- i.e. not always owned by root. When owned by root, user sessions break as no user processes are allowed to create directores there. On normal systems the directories already exist, but in clean environments / NixOS test VMs, the bug shows. Before: $ namei -l /home/user1/.cache/borg f: /home/user1/.cache/borg drwxr-xr-x root root / drwxr-xr-x root root home drwx------ user1 users user1 drwxr-xr-x root root .cache drwxr-xr-x user1 users borg After: $ namei -l /home/user1/.cache/borg f: /home/user1/.cache/borg drwxr-xr-x root root / drwxr-xr-x root root home drwx------ user1 users user1 drwxr-xr-x user1 users .cache drwxr-xr-x user1 users borg |
||
---|---|---|
.. | ||
automysqlbackup.nix | ||
bacula.nix | ||
borgbackup.nix | ||
borgbackup.xml | ||
borgmatic.nix | ||
btrbk.nix | ||
duplicati.nix | ||
duplicity.nix | ||
mysql-backup.nix | ||
postgresql-backup.nix | ||
postgresql-wal-receiver.nix | ||
restic-rest-server.nix | ||
restic.nix | ||
rsnapshot.nix | ||
sanoid.nix | ||
syncoid.nix | ||
tarsnap.nix | ||
tsm.nix | ||
zfs-replication.nix | ||
znapzend.nix | ||
zrepl.nix |