“Permission Denied” using cygwin in Windows

前端 未结 9 1630
终归单人心
终归单人心 2021-02-01 23:19

Background: I am trying to write a [.bat] file so I can double click it and a bash script will get invoked. The bash script will start up a few window

9条回答
  •  Happy的楠姐
    2021-02-01 23:58

    I think you have to change the directory or file permission. If you want to change permission of a file or directory then you have to add full path with the code.

    As if you want to change permission on cocos2d-x folder on C:\yourDirectory (I'm on Windows; on Mac it would be / instead of \) write the code on cygwin console:

    chmod -R 775 /cygwindrive/c/yourDirectory
    

    Note: If it's in C: drive you have to run it as administrator.

提交回复
热议问题