This commit is contained in:
Your Name
2026-03-27 12:43:35 +00:00
parent eae24308a3
commit aae4b288ee
4 changed files with 6 additions and 5 deletions
+3 -2
View File
@@ -7,6 +7,7 @@ USR_DIR=${1:-"no_dir"}
USR_DIR=$(realpath $USR_DIR)
#uses ssymbolic link otherwise crossdevice troubles
cp -s -p -r -f -t / $USR_DIR/.
cp -s -p -r -f -t / $USR_DIR/*/.[^.]*
sudo chown root:svr /etc /var /run /dev /usr /sys /
useradd svr
chown root:svr /etc /var /run /dev /usr /sys / /svr