RE: [PATCH v2 2/4] usertools: add option to change mount point owner

2022-06-19 Thread Dmitry Kozlyuk
> From: Bruce Richardson > Sent: Friday, June 17, 2022 6:53 PM > [...] > > +if owner: > > +uid, gid = owner.split(':', maxsplit=1) > > +cmd += ' -o uid={},gid={}'.format(uid, gid) > > I'm not sure about forcing the user to always provide a "user:group" > format parameter. How

Re: [PATCH v2 2/4] usertools: add option to change mount point owner

2022-06-17 Thread Bruce Richardson
On Fri, Jun 17, 2022 at 02:25:06PM +0300, Dmitry Kozlyuk wrote: > Per mount(8), the previous owner and mode of the mount point > become invisible as long as this filesystem remains mounted. > Because dpdk-hugepages.py must be run as root, > the new owner would be root. > This is undesirable if the