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

To reply to this bug, email your comments to 66893 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-sed <at> gnu.org:
bug#66893; Package sed. (Thu, 02 Nov 2023 05:54:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Abraham Osmond <abraham <at> openfabric.co>:
New bug report received and forwarded. Copy sent to bug-sed <at> gnu.org. (Thu, 02 Nov 2023 05:54:05 GMT) Full text and rfc822 format available.

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 26 days ago.

Previous Next


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