Options for specifying uid and gid of the root and
lost+found directories made with mkudffs are added.
The default for both changes from 0 to -1. This is
- 0 is bad because only root can change things on the new
filesystem and an user usually does not have root.
- -1 will cause Linux to actually use the uid and gid
of mount, ideally given as uid=useruid,gid=usergid which
treats these ids as the uis od the mounting user.
If the change of the default is questionable, I would
change it at least from 0 to the behaviour of --uid
(without argument), which actually creates the
filesystem with the ids of the creating user. Note that
this would have a big drawback if one thinks of having
different uids on different systems, but wanting to use
a (e.g.) dvd-ram on both systems without making it rw
to the world.
Log in to post a comment.