Richard W.M. Jones
2022-Mar-22 17:46 UTC
[Libguestfs] [PATCH v2v v2] lib: Use an ACL to allow qemu to access the v2v directory
On Tue, Mar 22, 2022 at 05:34:25PM +0100, Laszlo Ersek wrote:> Is it OK if we pass "+107" to "setfacl" here?Yes it works fine. The "+" is a surprise feature of getpwnam(3) in fact, albeit one which doesn't appear to be documented in the man page. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org
Richard W.M. Jones
2022-Mar-22 17:48 UTC
[Libguestfs] [PATCH v2v v2] lib: Use an ACL to allow qemu to access the v2v directory
On Tue, Mar 22, 2022 at 05:46:18PM +0000, Richard W.M. Jones wrote:> On Tue, Mar 22, 2022 at 05:34:25PM +0100, Laszlo Ersek wrote: > > Is it OK if we pass "+107" to "setfacl" here? > > Yes it works fine. The "+" is a surprise feature of getpwnam(3) in fact, > albeit one which doesn't appear to be documented in the man page.Apparently coreutils, not libc: https://www.gnu.org/software/coreutils/manual/coreutils.html#Disambiguating-names-and-IDs Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into KVM guests. http://libguestfs.org/virt-v2v