Opened 11 years ago
Closed 8 years ago
#12640 closed defect (obsolete)
TMPDIR on shared folder causes problems with bash heredoc
Reported by: | mwader | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 4.3.6 |
Keywords: | Cc: | ||
Guest type: | Linux | Host type: | Mac OS X |
Description
When running bash with TMPDIR pointing to a shared folder (vboxsf) bash heredoc does not work.
Attaching Vagrantfile and shell script to reproduce.
Steps:
- Put Vagrantfile and test.bash in a directory
- vagrant up
- vagrant ssh
- cd /vagrant
- bash test.bash
Error: cat: -: No such file or directory
Notes about the strace log file: /vagrant/sh-thd-1390487659 is a temporary heredoc file. Seems somehow fd 0 that is the unlinked heredoc temp file does not survive execve or at least causes fstat64 to return error.
Attachments (3)
Change History (4)
by , 11 years ago
Attachment: | Vagrantfile added |
---|
comment:1 by , 8 years ago
Resolution: | → obsolete |
---|---|
Status: | new → closed |
Please reopen if still relevant with a recent VirtualBox release.
Note:
See TracTickets
for help on using tickets.
Vagrantfile