chmod cannot change group permission on Cygwin

前端 未结 7 1229
孤城傲影
孤城傲影 2020-12-10 02:41

I am using Cygwin and trying to change the group access permission with chmod, e.g.

$ls -l id_rsa
-rwxrwxr-- 1 None 1679 Jun 13 10:16 id_rsa 

$ chmod g= id_         


        
7条回答
  •  春和景丽
    2020-12-10 02:44

    You must specify the group name on the Windows system which your user belongs to.

    So I just did this: chown -R ONEX:Users ~/*

    You can find your user name and group here:

    Image

提交回复
热议问题