Using Cygwin in Windows 8, chmod 600 does not work as expected?
Posted
by
Castaa
on Super User
See other posts from Super User
or by Castaa
Published on 2012-03-05T22:27:13Z
Indexed on
2012/10/01
21:41 UTC
Read the original article
Hit count: 262
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?
© Super User or respective owner