]> git.ipfire.org Git - thirdparty/dracut.git/commit - dracut.sh
dracut.sh: only set the owner of files to 0:0, if generated as non-root
authorHarald Hoyer <harald@redhat.com>
Thu, 30 Jan 2014 15:11:40 +0000 (16:11 +0100)
committerHarald Hoyer <harald@redhat.com>
Tue, 29 Jul 2014 09:52:05 +0000 (11:52 +0200)
commit286fbebdaf4bc4954a3206ca11f1d14f9267a7fd
tree9300d76cad6f8b3d5f222a60fe2e347286dd0548
parent27acb483e8f73ceb24eacca067dbea178d53aa2f
dracut.sh: only set the owner of files to 0:0, if generated as non-root

If the root user generates the initramfs image, preserve the ownership
of the files. This of course cannot be done for non-root users
generating an initramfs image.
dracut.sh