keep root ownership and default perms on /
This commit is contained in:
parent
dc31325a0d
commit
1dcb8d04a5
|
@ -156,6 +156,8 @@ source ./installer/my-user-my-group.sh
|
||||||
echo "User $my_user Group $my_group"
|
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 chmod 0755 $my_tmp
|
$sudo_cmd chmod 0755 $my_tmp
|
||||||
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_app_name/$my_app_name.yml $my_root/etc/$my_app_name/$my_app_name.yml
|
rsync -a --ignore-existing $my_app_dist/etc/$my_app_name/$my_app_name.yml $my_root/etc/$my_app_name/$my_app_name.yml
|
||||||
|
|
Loading…
Reference in New Issue