filesystems: also chown symlinks
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 8 Jun 2014 20:02:23 +0000 (22:02 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 9 Jun 2014 09:28:57 +0000 (11:28 +0200)
commit3fbd9887b324f7b64a583243bf0a770527cb5f61
treee188ec362ffb182b843d4b5d5d50c0f6465d1c84
parent54ba2704b07cacacb9247540a660c667fd5ffdd5
filesystems: also chown symlinks

Currently, the symlinks in the generated filesystems will have the
UID of the user running the build, because 'chown' does not change
the ownership of symlinks, by default.

Although the implications are limited, some may not want that UID
to leak in the generated filesystems.

So, use 'chown -h' so even symlinks get properly chowned.

Reported-by: Angelo Dureghello <angelo@barix.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
fs/common.mk
fs/iso9660/iso9660.mk
support/scripts/mkusers