change permission of clean to factory