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
It's caused by Windows security settings.
Open the folder's Properties settings from the context menu. In the Security tab, click Edit, press Add... in the pop-up window and add your user to the list, check Full Control in the Allow column. Press OK twice to apply the changes.