fix the permissions for synced folder