diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2012-02-08 18:05:29 +0000 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-02-09 15:46:14 +0000 |
commit | 24d7889eba3eb6ee2f37ed9d384aa8734ebad7b7 (patch) | |
tree | 6936e84655396daf54ceea3d77fe2d16811adfcf /tests/guests | |
parent | 016ae77e6c2331560a3716ea1ebae82f122b4909 (diff) | |
download | libguestfs-24d7889eba3eb6ee2f37ed9d384aa8734ebad7b7.tar.gz libguestfs-24d7889eba3eb6ee2f37ed9d384aa8734ebad7b7.tar.xz libguestfs-24d7889eba3eb6ee2f37ed9d384aa8734ebad7b7.zip |
edit: Preserve file permissions, UID, GID, SELinux context on edited files. (RHBZ#788641)
Diffstat (limited to 'tests/guests')
-rwxr-xr-x | tests/guests/guest-aux/make-fedora-img.pl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/guests/guest-aux/make-fedora-img.pl b/tests/guests/guest-aux/make-fedora-img.pl index 6eeaa9ab..90010ef0 100755 --- a/tests/guests/guest-aux/make-fedora-img.pl +++ b/tests/guests/guest-aux/make-fedora-img.pl @@ -173,6 +173,8 @@ d e f '); +$g->chown(10, 11, '/etc/test3'); +$g->chmod(0600, '/etc/test3'); $g->write('/bin/test1', 'abcdefg'); $g->write('/bin/test2', 'zxcvbnm'); $g->write('/bin/test3', '1234567'); |