• Jan Kara's avatar
    udf: Provide saner default for invalid uid / gid · 116e5258
    Jan Kara authored
    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: default avatarSteve Kenton <skenton@ou.edu>
    Reviewed-by: default avatarPali Rohár <pali.rohar@gmail.com>
    Signed-off-by: default avatarJan Kara <jack@suse.cz>
    116e5258
super.c 66.9 KB