Commit Graph

5 Commits

Author SHA1 Message Date
Leonid Pliushch
06499edb90
termux-tools: updates to backup/restore scripts
What is done:

* Add comments on decisions to not enable backup/restore $HOME
  directory.

* Add informational messages on what backup/restore scripts are
  currently doing.

* Disable possibility of using termux-restore script as root user
  due to risk of messing up access modes, ownership and SELinux
  labels in $PREFIX.
2021-10-28 12:53:32 +03:00
Leonid Pliushch
b7433a155f
termux-tools: fix minor syntax issues in backup/restore tools 2021-10-08 22:06:49 +03:00
Leonid Pliushch
dd65d4e50a
termux-tools: termux-restore: ensure that files/dirs have modes rw/rwx respectively
Some utilities (e.g. proot-distro) may produce read-only files in
$PREFIX which will make use of termux-restore impossible.
2021-10-08 22:06:49 +03:00
Leonid Pliushch
0ae07286b9
termux-tools: chmod 755 termux-restore 2021-09-25 17:48:27 +03:00
Leonid Pliushch
646e619b02
termux-tools: add rudimentary backup/restore tools 2021-09-25 14:26:10 +03:00