Updated to use more appropriate permissions.
Added specs for trying to delete directories without permission.