OSError: [Error 1] Operation not permitted

前端 未结 4 1218
旧时难觅i
旧时难觅i 2020-12-06 19:29

I am trying to run a python script which uses a binary file (xFiles.bin.addr_patched) created by a postlinker. However, I am getting this error.

File \"abc.p         


        
4条回答
  •  北荒
    北荒 (楼主)
    2020-12-06 19:51

    My guess is that you should be looking at the permissions for myPath folder instead. Seems like you can't write to it, hence the problem. Try ls -l myPath/.. and see the permissions for myPath. If that's the problem, change the permissions on the folder with chmod.

    P.S. Also, see Google top result on Linux file permissions.

提交回复
热议问题