From nobody Thu Apr 18 03:25:30 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1549496229387946.120862530527; Wed, 6 Feb 2019 15:37:09 -0800 (PST) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 78E9B2D7F8; Wed, 6 Feb 2019 23:37:05 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 8986E451C; Wed, 6 Feb 2019 23:37:03 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id E94B118033A7; Wed, 6 Feb 2019 23:36:59 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x16Nawjf029350 for ; Wed, 6 Feb 2019 18:36:58 -0500 Received: by smtp.corp.redhat.com (Postfix) id 5E289660D4; Wed, 6 Feb 2019 23:36:58 +0000 (UTC) Received: from worklaptop.redhat.com (ovpn-124-233.rdu2.redhat.com [10.10.124.233]) by smtp.corp.redhat.com (Postfix) with ESMTP id A25A85C5FD; Wed, 6 Feb 2019 23:36:54 +0000 (UTC) From: Cole Robinson To: libvirt-list@redhat.com Date: Wed, 6 Feb 2019 18:36:46 -0500 Message-Id: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH] docs: storage: owner/group default to libvirtd UID/GID X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Wed, 06 Feb 2019 23:37:07 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Commit fafcc818f changed the docs to say that when creating a pool directory or file volume with no owner/group specified, they will be inherited from the parent directory. This isn't correct now and doesn't seem to have ever been correct In reality default owner/group is whatever UID/GID libvirtd is running as Signed-off-by: Cole Robinson --- docs/formatstorage.html.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/formatstorage.html.in b/docs/formatstorage.html.in index 6ebd23549f..968651330f 100644 --- a/docs/formatstorage.html.in +++ b/docs/formatstorage.html.in @@ -478,8 +478,8 @@ The owner element contains the numeric user ID. The group element contains the numeric group ID. If owner or group aren't specified when - creating a directory, the values are inherited from the parent - directory. The label element contains the MAC (eg SEL= inux) + creating a directory, the UID and GID of the libvirtd process are = used. + The label element contains the MAC (eg SELinux) label string. Since 0.4.1 For running directory or filesystem based pools, these fields @@ -776,8 +776,8 @@ The owner element contains the numeric user ID. The group element contains the numeric group ID. If owner or group aren't specified when - creating a supported volume, the values are inherited from the par= ent - directory. The label element contains the MAC (eg SEL= inux) + creating a supported volume, the UID and GID of the libvirtd proce= ss + are used. The label element contains the MAC (eg SELi= nux) label string. For existing directory or filesystem based volumes, these fields will be filled with the values used by the existing file. --=20 2.20.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list