|
|
Question : chmod not working on cygwin
|
|
I'm running cygwin and I change the protections with chmod but nothing happens? What do I need to do?
$ ls -l total 2 -rw-r--r-- 1 Administ None 1675 May 17 14:48 fsmake13
$ chmod -v u+x fsmake13 mode of `fsmake13' changed to 0744 (rwxr--r--)
$ ls -l total 2 -rw-r--r-- 1 Administ None 1675 May 17 14:48 fsmake13
$ whoami Administrator
|
Answer : chmod not working on cygwin
|
|
You have to set your CYGWIN environment variable to "ntsec" or "ntea", depending on whether you use NTFS or FAT32. See the Cygwin FAQ entry on this for more info:
http://cygwin.com/faq/faq_4.html#SEC45
|
|
|
|