Date: Mon, 21 Jan 2013 21:50:01 +0400 From: "Andrey V. Elsukov" <bu7cher@yandex.ru> To: Konstantin Belousov <kostikbel@gmail.com> Cc: lev@FreeBSD.org, freebsd-geom@FreeBSD.org Subject: Re: Is it possible to run gpart and newfs on file without root access (without mdconfig)? Message-ID: <50FD7FC9.5000503@yandex.ru> In-Reply-To: <20130121174811.GL2522@kib.kiev.ua> References: <1839155364.20130119150146@serebryakov.spb.ru> <50FD7A59.4010606@yandex.ru> <20130121174811.GL2522@kib.kiev.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
On 21.01.2013 21:48, Konstantin Belousov wrote: >>> 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*. Yes, there is some devfs foo needed. But the easiest way is sudo :) -- WBR, Andrey V. Elsukov
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50FD7FC9.5000503>
