summaryrefslogtreecommitdiffstats
path: root/drivers/bus
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2018-02-22 10:39:52 +0100
committerJan Kara <jack@suse.cz>2018-02-27 10:25:33 +0100
commit116e5258e4115aca0c64ac0bf40ded3b353ed626 (patch)
tree534cadc7bd1d2dbe8ad879728eb1716bb345d541 /drivers/bus
parent0c9850f4d4c5d645125869fe0fa206fb662bd98b (diff)
downloadlinux-116e5258e4115aca0c64ac0bf40ded3b353ed626.tar.bz2
udf: Provide saner default for invalid uid / gid
Currently when UDF filesystem is recorded without uid / gid (ids are set to -1), we will assign INVALID_[UG]ID to vfs inode unless user uses uid= and gid= mount options. In such case filesystem could not be modified in any way as VFS refuses to modify files with invalid ids (even by root). This is confusing to users and not very useful default since such media mode is generally used for removable media. Use overflow[ug]id instead so that at least root can modify the filesystem. Reported-by: Steve Kenton <skenton@ou.edu> Reviewed-by: Pali Rohár <pali.rohar@gmail.com> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'drivers/bus')
0 files changed, 0 insertions, 0 deletions