Subject: bug#66893: Error: sed: couldn't open temporary file ./sed7hc859: Permission denied

From: Abraham Osmond <[email-masked]>
Date: Thu, 2 Nov 2023 12:37:19 +0800

Hi team,

I started facing issues when using sed changing a file in place with the
following command

sed -i cmd file

even though I have the necessary permissions to access the file with my
script, sed returns
the following error

sed: couldn't open temporary file ./sed7hc859: Permission denied

And it would then create a temporary file ./sed7hc859.