sed permission denied when overwriting file

前端 未结 9 672
我在风中等你
我在风中等你 2021-01-11 12:07

I am trying to use sed to overwrite my index.php file, but I am getting an error:

$ sed -i \'s@@

        
9条回答
  •  长发绾君心
    2021-01-11 13:05

    You need to have the write permissions to the folder whose file you are changing.

    As explained here: https://stackoverflow.com/a/36404569/5381704

提交回复
热议问题