Modify some directory after attribute change