Re: [OpenWrt-Devel] [PATCH] image.mk: don't squash file permissions in JFFS2 images

2012-11-27 Thread Florian Fainelli
Le vendredi 23 novembre 2012 19:10:01, Jonh Wendell a écrit : > Currently we call mkfs.jffs2 --squash, which will change > both file permissions and owners. > > If we have some file with suid bits, it will clear these bits. > > Thus it's enough to just squash file owners, by replacing that > argu

[OpenWrt-Devel] [PATCH] image.mk: don't squash file permissions in JFFS2 images

2012-11-23 Thread Jonh Wendell
Currently we call mkfs.jffs2 --squash, which will change both file permissions and owners. If we have some file with suid bits, it will clear these bits. Thus it's enough to just squash file owners, by replacing that argument to --squash-uids. Signed-off-by: Jonh Wendell --- include/image.mk |