From: Tom Rini Date: Tue, 21 Apr 2020 08:26:24 -0400 Subject: [PATCH] mkimage: fit: don't create image with 0700 permissions In-Reply-To: <4a28e074b8c2930c133bdc6f7d6d5c2ed30b80bd.1583088459.git.tommyhebb@gmail.com> References: <4a28e074b8c2930c133bdc6f7d6d5c2ed30b80bd.1583088459.git.tommyhebb@gmail.com> Message-ID: <20200421122624.GA4555@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sun, Mar 01, 2020 at 10:47:53AM -0800, Thomas Hebb wrote: > commit 7298e422504e ("mkimage: fit: add support to encrypt image with > aes") added a new copyfile() function as part of the FIT image creation > flow. This function as currently written creates the final image with a > mode of 0700 (before umask), differing from the old behavior of 0666. > Since there doesn't seem to be any reason to make the image executable > or non-group, non-other readable, change the mask to 0666 to preserve > the old behavior. > > Fixes: 7298e422504e ("mkimage: fit: add support to encrypt image with aes") > Signed-off-by: Thomas Hebb Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: