libguestfs / guestfs-tools

Tools for accessing and modifying guest disk images
https://libguestfs.org
GNU General Public License v2.0
14 stars 6 forks source link

Add --chown flag to change file owner and group #12

Closed benjamb closed 1 year ago

benjamb commented 1 year ago

--upload states that permissions and ownership are preserved, and so they should be set as appropriate prior to uploading them to the image.

It would be nice if instead there were a --chown flag so that we could override these after they have been added to the image.

rwmjones commented 1 year ago

https://listman.redhat.com/archives/libguestfs/2023-June/031923.html https://listman.redhat.com/archives/libguestfs/2023-June/031924.html

benjamb commented 1 year ago

@rwmjones Amazing, thank you!