On Thu, 16 Feb 2017, Theo Buehler wrote:
> Patch below fixes this, ensuring that without -h flag we use the actual
> file's permissions/flags, not the ones of the symlink. For chmod:
> 
> 260                   if (!fchmodat(AT_FDCWD, p->fts_accpath, oct ? omode :
> 261                       getmode(set, p->fts_statp->st_mode), atflags)
> 262                       || fflag)
> 
> The problem for chflags is similar and chown is unaffected by this 
> patch.

Ah, I see, I think I see.
ok guenther@

Is there a regress test that needs to be updated to match...or to add a 
test for this case?

Reply via email to