On Mon, Jan 21, 2013 at 09:26:49PM +0400, Andrey V. Elsukov wrote: > On 19.01.2013 15:01, Lev Serebryakov wrote: > > Hello, Freebsd-geom. > > > > Patches to build and install world without root access will hit tree > > in near future, and I wonder is it possible to build complete NanoBSD > > image without root access? Now image is built via creating MD disk and > > it needs root access anyway :( > > Is here any way to create disk image (in file) without root access? > > > > Yes, permissions fixup needs root access in any case, but it > > could be done on first boot of created image, on target device, with > > some rc kung-foo! > > # chmod g+rw /dev/mdctl > # chmod g+rw /dev/geom.ctl > > And now the operators group can do what you want.
Do the newly created devfs nodes for the md(4) and partitions on md(4) somehow get g+rw afterwards ? I think the write access is needed to /dev/mdN*.
pgpv6qYjgtjWG.pgp
Description: PGP signature