permission denied when sed in place edit in mingw

后端 未结 4 1933
不思量自难忘°
不思量自难忘° 2021-02-06 22:19

I\'m using mingw.

  $ sed -i \"s/a/b/\" test.txt
  sed: preserving permissions for `./sed003480\': Permission denied

I can touch/rm files in cu

4条回答
  •  無奈伤痛
    2021-02-06 22:48

    On Windows 10 WSL i got similar issue. The issue was caused by VS code being open and apparently using the file. Closing VS code solved my issue.

提交回复
热议问题