index chmod reverted