fixed recursive permissions3