bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bash expanding relative paths in auto-complete


From: Linda Walsh
Subject: bash expanding relative paths in auto-complete
Date: Thu, 13 Aug 2015 15:34:09 -0700
User-agent: Thunderbird

in bash 4.3.39,
if I type a command, (like "."(source)) and a relative path
like : ../conf<complete>,
it expands the relative pathname to absolute pathnames.

This is bad .. since I reuse relative commands in different
absolute places.

It didn't used to do this, and it's a potential security problem,
since if you reuse a command to configure something from before, and
don't catch that it's not using the relative path, it could run
the wrong command...





reply via email to

[Prev in Thread] Current Thread [Next in Thread]