stanford-rc / fuse-migratefs

Filesystem overlay for transparent, distributed migration of active data across separate storage systems.
GNU General Public License v3.0
40 stars 10 forks source link

Setting `TMPDIR` to a location in `migratefs` breaks bash completion #12

Closed kcgthb closed 5 years ago

kcgthb commented 5 years ago

Bash completion uses read in a yet-to-be-determined way, that doesn't play well when TMPDIR is set to some location on migratefs

Demonstration:

$ export TMPDIR=/tmp
$ while read -r tmp; do echo $tmp; done <<< "foo"
foo

$ export TMPDIR=$SCRATCH
$ while read -r tmp; do echo $tmp; done <<< "foo"
-bash: read: read error: 0: No such file or directory
kcgthb commented 5 years ago

https://srcc.uservoice.com/admin/tickets/30359

thiell commented 5 years ago

fixed subconsciously in 0.4.x