permission denied when sed in place edit in mingw

后端 未结 4 1877
不思量自难忘°
不思量自难忘° 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 23:00

    For me, folder was read only. unchecking readonly option fix my problem. Thanks to Zenadix commment

提交回复
热议问题