Subject: ownership of root dir after newfs, PR's 5990 & 6276
To: None <tech-kern@netbsd.org>
From: Bill Studenmund <wrstuden@nas.nasa.gov>
List: tech-kern
Date: 03/12/1999 13:54:23
Both of these PR's describe how it is impossible for users to make ffs's
on floppies which they can use. To quite Charles in PR 6276:

It's nice that I can newfs(8) and mount(8) a file system without being
root.  However, it does me little good if newfs(8) makes the root
directory owned by root, rather than my non-root uid, because I can't
modify the file system once it's mounted. 


PR 5990 supplies a simple patch - just make the root node's owner the
(effective) user who ran the command, and set the group equal to the
process's effective group.

That seems fine to me.

Any thoughts? It's a simple change. :-)

Take care,

Bill