Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-21899

virt-builder: error: invalid format for '--chown' parameter

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Normal Normal
    • rhel-9.4
    • rhel-9.4
    • guestfs-tools
    • None
    • guestfs-tools-1.51.6-2.el9
    • None
    • Moderate
    • rhel-sst-virtualization
    • ssg_virtualization
    • 5
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None

      What were you trying to do that didn't work?

      The '--chown' parameter is invalid in virt-builder/virt-customize/...

      Please provide the package NVR for which bug is seen:

      guestfs-tools-1.51.6-1.el9.x86_64

      How reproducible:

      100%

      Steps to reproduce

      On rhel9.4 host:

      1. $ virt-builder -v -x fedora-38 --chown 1:1:/var/tmp
      virt-builder: error: invalid format for '--chown' parameter, see the man page

      2. $ virt-builder --help | grep chown
        --chown <UID:GID:PATH>              Change the owner user and group ID of a file or directory

      Expected results

      The '--chown' parameter should be supported.

      Actual results

      the above error

              rhn-eng-rjones Richard Jones
              yoguo@redhat.com Yongkui Guo
              virt-maint virt-maint
              Yongkui Guo Yongkui Guo
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: