Sample Header Ad - 728x90

chmod not working in minGW64 but working Cygwin?

2 votes
2 answers
4360 views
I need to do some file permission changes on win10, while I can run this command under cygwin but not in git bash minGW64, can someone help to explain why? The result as from the cygwin terminal:
$ chmod 777 testfile
$ ls -l
total 0
-rwxrwxrwx 1 Jon Domain Users 0 Nov  1 11:57 testfile
But in mingw64:
$ touch test
-rw-r--r-- 1 jon 1049089    0 Nov  1 12:17  test
$ chmod 777 test
$ ll
-rw-r--r-- 1 jon 1049089    0 Nov  1 12:17  test
and while I am using chmod I am not even getting error msg. How can I solve the problem to make the chmod working?
Asked by Tiger (367 rep)
Nov 1, 2019, 04:20 PM
Last activity: Jan 11, 2024, 10:10 PM