I understand what you mean.
The manual tell me -h "affect symbolic links instead of any referenced
file", now you say A/B/C is not a symbolic link if B is a symbolic.
It's confusing, right?

Paul Eggert <egg...@cs.ucla.edu> 于2019年5月10日周五 上午4:01写道:

> I don't see any vulnerability here. The -h option of 'chown -h A/B/C'
> does not affect whether A and A/B are followed if they are symbolic
> links: they are always followed, regardless of whether the -h option is
> specified. The -h option affects only whether A/B/C is followed if A/B/C
> is a symbolic link. This is a well-known property of symbolic links.
>

Reply via email to