commit ensure-perms
script for image post-processing
this was created weeks ago and not committed
This commit is contained in:
parent
90b0535c56
commit
c9d57f2995
8
scripts/ensure-perms
Executable file
8
scripts/ensure-perms
Executable 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
|
Loading…
Reference in New Issue
Block a user