commit | 278c644cfa48a5f9c2ec27eab64bf0d25d712649 | [log] [tgz] |
---|---|---|
author | Jixiong Hu <Jixiong.Hu@mediatek.com> | Tue Mar 19 17:20:40 2024 +0800 |
committer | Tom Rini <trini@konsulko.com> | Wed Apr 10 09:34:52 2024 -0600 |
tree | 366b27c59661f2b3ce98bc7418d18eb34d330607 | |
parent | ae8e1d5aa46034963bca28fb07dac76970f718fe [diff] |
fs: ext4: Change the Settings of file permissions When a file is created in the linux and corresponding file permission is set, if the file needs to be modified in uboot during the startup process, the modified file permission will be reset to 755. Therefore, when the ext4fs_write() function is called, if the file already exists, the file permission of the new file is equal to the file permission of the existing file.