summaryrefslogtreecommitdiffstats
path: root/scripts/extract-sys-certs.pl
diff options
context:
space:
mode:
authorZhihao Cheng <chengzhihao1@huawei.com>2020-08-28 11:32:50 +0800
committerRichard Weinberger <richard@nod.at>2020-09-17 22:56:19 +0200
commit121b8fcbf98892d5f26d8326a00d09e4cdb76369 (patch)
treeebc8a6752f9b7393ae88d6a7f41f08338b4ac1c2 /scripts/extract-sys-certs.pl
parentdd7db149bcd914db8fdeb19cd5597c0740121bc7 (diff)
downloadlinux-121b8fcbf98892d5f26d8326a00d09e4cdb76369.tar.bz2
ubifs: setflags: Don't show error message when vfs_ioc_setflags_prepare() fails
Following process will trigger ubifs_err: 1. useradd -m freg (Under root) 2. cd /home/freg && mkdir mp (Under freg) 3. mount -t ubifs /dev/ubi0_0 /home/freg/mp (Under root) 4. cd /home/freg && echo 123 > mp/a (Under root) 5. cd mp && chown freg a && chgrp freg a && chmod 777 a (Under root) 6. chattr +i a (Under freg) UBIFS error (ubi0:0 pid 1723): ubifs_ioctl [ubifs]: can't modify inode 65 attributes chattr: Operation not permitted while setting flags on a This is not an UBIFS problem, it was caused by task priviliage checking on file operations. Remove error message printing from kernel just like other filesystems (eg. ext4), since we already have enough information from userspace tools. Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'scripts/extract-sys-certs.pl')
0 files changed, 0 insertions, 0 deletions