[Buildroot] [PATCH] fs: also chown symlinks
Peter Korsgaard
jacmet at uclibc.org
Thu May 1 21:28:22 UTC 2014
>>>>> "Yann" == Yann E MORIN <yann.morin.1998 at free.fr> writes:
> From: "Yann E. MORIN" <yann.morin.1998 at free.fr>
> By default, chown does not change the ownership of symlinks.
> In some cases, this can be seen by some as a leak from the building
> environment into the generated filesystem (a small leak, but a leak
> nonetheless.)
> Change the way we call chown to tell it to not dereference symlinks.
> [Thanks to Thomas for pointing out the -h option to chown.]
As discussed on IRC, chown actually does the right thing when called
with the -R option, so this patch doesn't make sense.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list