Skip to content

Revert "functions: try to avoid path traversal issues in add_file & add_binary by resolving the real path"

nl6720 requested to merge nl6720/mkinitcpio:do-no-stat-symlinks into master

realpath -s is not guaranteed to return the real path in case the path contains a symlink in it. E.g. /usr/lib/symlink/../binary. Best not to work around potential edge cases of which no one has complained about yet.

This reverts commit 3ecaccf3.

Edited by nl6720

Merge request reports