We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d4da8d commit b985c7aCopy full SHA for b985c7a
bin/v-restore-user
@@ -363,11 +363,16 @@ if [ "$web" != 'no' ]; then
363
exit $E_PARSING
364
fi
365
366
+ # Fix for tar < 1.24
367
+ find $HOMEDIR/$user/web/$domain -type d \
368
+ -exec chown -h $user:$user {} \;
369
+
370
# ReChown files if uid differs
371
if [ "$old_uid" -ne "$new_uid" ]; then
372
find $HOMEDIR/$user/web/$domain/ -user $old_uid \
373
-exec chown -h $user:$user {} \;
374
375
376
done
377
378
# Restart WEB
0 commit comments