feat: set mode, remove secproc group and remove start.sh from tarball

This commit is contained in:
Pallav Vasa 2025-05-23 11:59:00 +00:00
parent bdac248845
commit fce5d72b19

View File

@ -14,5 +14,5 @@ replace_home() {
find .config -type d -exec chmod g+x {} +
replace_home "$PWD" "/home/devuser"
tar -czf home.tar.gz --owner root:0 --group secproc:1002 --xform "s,$PWD,/home/devuser," .config .local .ssh start.sh
tar --mode=a=r,u+w,a+x -czf home.tar.gz --owner root:0 --group root:0 --xform "s,$PWD,/home/devuser," .config .local .ssh
replace_home "/home/devuser" "$PWD"