third_party_f2fs-tools/include
Daniel Abrecht ea01d23fa6 Add -P option to preserve file owner
commit 80dba0f975
category: bugfix
issue: #I6VAS0
CVE: NA

Signed-off-by: DongSenhao <dongsenhao2@huawei.com>
---------------------------------------

I use user namespaces & debootstrap to bootstrap a system, and then
copy that into an image using sload.f2fs. However, without an option to
preserve the owner user & group of files, some files end up being owned
by the wrong user / group (0:0), which causes all kinds of other issues

This patch adds an option -P to preserve the user and group of files.

Signed-off-by: Daniel Abrecht <public@danielabrecht.ch>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: dongsenhao <dongsenhao2@huawei.com>
2023-04-13 14:13:44 +08:00
..
android_config.h f2fs_io: change fibmap to fiemap 2023-04-13 14:13:43 +08:00
f2fs_fs.h Add -P option to preserve file owner 2023-04-13 14:13:44 +08:00
quota.h f2fs-tools: change to use #pragma pack(push, 1) 2018-04-03 00:10:08 -07:00