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