Article 6CZ0Z Bash fail use file descriptor assigned a file that resides in /tmp

Bash fail use file descriptor assigned a file that resides in /tmp

by
zeroone
from LinuxQuestions.org on (#6CZ0Z)
Does one experienced too that
Bash cannot use file descriptor assigned a file that resides in /tmp ?
i.e. inside script:
Code:...
exec 3< <(/tmp/dls1)

while read -r -u3 f1; read -r f2
do
# ...
done < <(cat /tmp/dls2)
...output:
...

bash: /tmp/dls1: Permission denied


While the second file is read into f2 works. Please advise the wisest solution
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments