Skip to content

Commit

Permalink
In test change group of directory again
Browse files Browse the repository at this point in the history
This has no effect on the test itself but the code may be used as an example where it does matter.
Since the systemd unit runs with DynamicUser=true, the group ID of the directory may change over time, so reset it.
This reverts part of b913fc2.
  • Loading branch information
Luflosi committed Nov 23, 2024
1 parent b440799 commit 7eac972
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nix/tests/NixOS-integration-test.nix
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ self:
script = ''
mkdir --verbose -p '/var/lib/bind/zones/dyn/'
chmod 775 '/var/lib/bind/zones/dyn/'
chgrp zonegen '/var/lib/bind/zones/dyn/'
# Create an initial file for zonewatch and BIND to read
(set -o noclobber;>'/var/lib/bind/zones/dyn/example.org.zone'||true) &>/dev/null
Expand Down

0 comments on commit 7eac972

Please sign in to comment.