change mode for folder