Fixes attempt to change permissions for remote storages