[Bug 10591] mount: fallback to default $PATH for mount helpers

bugzilla at busybox.net bugzilla at busybox.net
Wed Jan 24 04:02:07 UTC 2018


Mike Frysinger <vapier at gentoo.org> changed:

           What    |Removed                     |Added
            Summary|use fixed $PATH for mount   |mount: fallback to default
                   |helpers?                    |$PATH for mount helpers

--- Comment #1 from Mike Frysinger <vapier at gentoo.org> ---
the code already correctly handles the setuid scenario.  look at
CONFIG_FEATURE_SUID and sanitize_env_if_suid() which resets PATH.

hardcoding /sbin and ignoring $PATH would be incorrect.

adding a fallback to use the values in bb_default_path if the exec failed would
probably be nice.

You are receiving this mail because:
You are on the CC list for the bug.

More information about the busybox-cvs mailing list