]> git.ipfire.org Git - thirdparty/dracut.git/commit
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>
Thu, 30 Jan 2014 15:18:04 +0000 (16:18 +0100)
commitc8a9a6b4a7dff76c66e84f65b2717632e1bb4505
tree7c10b228df8bb5837ba6cdb145d705a425766d58
parent66bfe863f551389add3a3a53067264ce32eba302
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