commit ensure-perms script for image post-processing

this was created weeks ago and not committed
This commit is contained in:
colin 2022-10-21 00:03:57 -07:00
parent 90b0535c56
commit c9d57f2995

8
scripts/ensure-perms Executable file
View File

@ -0,0 +1,8 @@
#!/usr/bin/env bash
# ensures perms on a newly-built distribution are good.
# usage: sudo ensure-perms /path/to/nix
nix_path=$1
chown root:root -R $nix_path
chown root:nixbld $nix_path/store