Don't restore flags since they are directory-specific anyway.