summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x[-rw-r--r--]andbackup.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/andbackup.sh b/andbackup.sh
index a93ae52..2093832 100644..100755
--- a/andbackup.sh
+++ b/andbackup.sh
@@ -123,6 +123,8 @@ function restore_app {
cp -rp ${backups}/${app}/data/* ${data}/
# Fix data permissions
chown -R ${owner}:${owner} ${data}
+ # Fix selinux labels
+ restorecon -R ${data}
# Cleanup the extracted data so restores don't take too much space
rm -rf ${backups}/${app}/data

Generated by cgit