Unverified Commit 11874ecc authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

nixos/doc: Split `mkdir` mode into `chmod` command for clarity (#236740)

parents 2c6a8150 b4e403f9
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -140,7 +140,8 @@ in {
        path  = [ pkgs.su ];
        script =
          ''
            mkdir -m 0755 -p $(dirname ${toString cfg.output})
            mkdir -p $(dirname ${toString cfg.output})
            chmod 0755 $(dirname ${toString cfg.output})
            exec updatedb \
              --localuser=${cfg.localuser} \
              ${optionalString (!cfg.includeStore) "--prunepaths='/nix/store'"} \