Using Cygwin in Windows 8, chmod 600 does not work as expected?
- by Castaa
I'm trying to change the the permissions to my key file key.pem in Cygwin 1.7.11. It has the permissions flags: -rw-rw----
chmod -c 600 key.pem
Reports:
mode of 'key.pem' changed from 0660 (rw-rw----) to 0600 (rw-------)
However:
ls -l key.pem
still reports
key.pem's permission flags are still: -rw-rw----
This reason why I'm asking is that ssh is complaining:
Permissions 0660 for 'key.pem' are too open.
when I try to ssh into my Amazon EC2 instance.
Is this an issue with Cygwin & Windows 8 NTFS or am I missing something?