forcefully preserve / permissions
This commit is contained in:
parent
4ffad8d3c3
commit
b307a2bcf2
|
@ -122,6 +122,7 @@ echo "User $my_user Group $my_group"
|
||||||
$sudo_cmd chown -R $my_user:$my_group $my_tmp/*
|
$sudo_cmd chown -R $my_user:$my_group $my_tmp/*
|
||||||
$sudo_cmd chown root:root $my_tmp/*
|
$sudo_cmd chown root:root $my_tmp/*
|
||||||
$sudo_cmd chown root:root $my_tmp
|
$sudo_cmd chown root:root $my_tmp
|
||||||
|
$sudo_cmd chmod 0755 $my_tmp
|
||||||
# don't change permissions on /, /etc, etc
|
# don't change permissions on /, /etc, etc
|
||||||
rsync -a --ignore-existing $my_tmp/ $my_root/
|
rsync -a --ignore-existing $my_tmp/ $my_root/
|
||||||
rsync -a --ignore-existing $my_app_dist/etc/$my_name/$my_name.yml $my_root/etc/$my_name/$my_name.yml
|
rsync -a --ignore-existing $my_app_dist/etc/$my_name/$my_name.yml $my_root/etc/$my_name/$my_name.yml
|
||||||
|
|
Loading…
Reference in New Issue