Fixing permissions on files after backup restore