[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Issue using file descriptor assigned file resides in /tmp
From: |
Budi |
Subject: |
Issue using file descriptor assigned file resides in /tmp |
Date: |
Fri, 14 Jul 2023 03:06:09 +0700 |
Anyone experienced too:
Bash cannot use file descriptor assigned file that resides in /tmp ?
i.e. inside script:
...
exec 3< <(/tmp/dls1)
while read -r -u3 f1; read -r f2
do
# ...
done < <(cat /tmp/dls2)
...
output:
...
bash: /tmp/dls1: Permission denied
While second file read into f2 works. Please advise the wisest solution.
- Issue using file descriptor assigned file resides in /tmp,
Budi <=