Changed directory permissions assignment.