From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yann E. MORIN Date: Tue, 7 Jun 2016 21:12:52 +0200 Subject: [Buildroot] [PATCH 7/7] fs/squashfs: remove useless chmod In-Reply-To: <87mvmxf9gk.fsf@dell.be.48ers.dk> References: <20160606230615.2772541c@free-electrons.com> <20160606211658.GA3706@free.fr> <87mvmxf9gk.fsf@dell.be.48ers.dk> Message-ID: <20160607191252.GB3775@free.fr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net On 2016-06-07 14:51 +0200, Peter Korsgaard spake thusly: > >>>>> "Yann" == Yann E MORIN writes: > > Hi, > > >> Maybe mksquashfs has changed its default behavior since then, but > >> clearly that's the reason why we were doing this. > > > At least, that's not what I can see here... > > No, it seems to use sensible permissions nowadays: > > strace -e open mksquashfs /tmp/blah /tmp/test.squashfs > .. > open("/tmp/test.squashfs", O_RDWR|O_CREAT|O_TRUNC, 0644) = 3 > open("/sys/devices/system/cpu/online", O_RDONLY|O_CLOEXEC) = 4 > Parallel mksquashfs: Using 4 processors > Creating 4.0 filesystem on /tmp/test.squashfs, block size 131072. Exactly what I meant: mksquashfs now behaves correctly. I don;t observe this fiddling with acces rights any more. Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'