Skip to content

Comments

always unpack initrd to relative paths#1

Open
danielg4 wants to merge 1 commit intoomicron-io:masterfrom
AndreySV:fix/unpack-initrd
Open

always unpack initrd to relative paths#1
danielg4 wants to merge 1 commit intoomicron-io:masterfrom
AndreySV:fix/unpack-initrd

Conversation

@danielg4
Copy link

If cpio archive contains absolute filenames, files are unpacked relative to host root '/', not 'ramdisk' directory. If abootimg-unpack-initrd is run as root, that could break host system and make it unbootable by overwriting important system files.

From: ggrandou#5

If cpio archive contains absolute filenames, files are unpacked
relative to host root '/', not 'ramdisk' directory.
If abootimg-unpack-initrd is run as root, that could break host system
and make it unbootable by overwriting important system files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants