Changing default access rights to less permissive ones