GNU bug report logs - #66893
Error: sed: couldn't open temporary file ./sed7hc859: Permission denied

Previous Next

Package: sed;

Reported by: Abraham Osmond <abraham <at> openfabric.co>

Date: Thu, 2 Nov 2023 05:54:04 UTC

Severity: normal

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Abraham Osmond <abraham <at> openfabric.co>
To: bug-sed <at> gnu.org
Subject: Error: sed: couldn't open temporary file ./sed7hc859: Permission
 denied
Date: Thu, 2 Nov 2023 12:37:19 +0800
[Message part 1 (text/plain, inline)]
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.
[Message part 2 (text/html, inline)]

This bug report was last modified 1 year and 226 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.