Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #11349

bash expanding relative paths in auto-complete

From Linda Walsh <bash@tlinx.org>
Newsgroups gnu.bash.bug
Subject bash expanding relative paths in auto-complete
Date 2015-08-13 15:34 -0700
Message-ID <mailman.8296.1439505263.904.bug-bash@gnu.org> (permalink)

Show all headers | View raw


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...


Back to gnu.bash.bug | Previous | Next | Find similar


Thread

bash expanding relative paths in auto-complete Linda Walsh <bash@tlinx.org> - 2015-08-13 15:34 -0700

csiph-web