Removed error trowing for mkdir and chmod