Date: Mon, 21 Jan 2013 21:26:49 +0400 From: "Andrey V. Elsukov" <bu7cher@yandex.ru> To: lev@FreeBSD.org Cc: freebsd-geom@FreeBSD.org Subject: Re: Is it possible to run gpart and newfs on file without root access (without mdconfig)? Message-ID: <50FD7A59.4010606@yandex.ru> In-Reply-To: <1839155364.20130119150146@serebryakov.spb.ru> References: <1839155364.20130119150146@serebryakov.spb.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
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. -- WBR, Andrey V. Elsukov
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50FD7A59.4010606>
