77
34
I'm trying to change 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?
This sounds like a Win8/Cygwin bug. I'd recommend reporting it on the Cygwin mailing list.
– me_and – 2012-03-06T10:30:26.530It might be related to NTFS... Windows doesn't really use that Linux scheme. Maybe you can try going into the windows permission settings and only give yourself rights... – sinni800 – 2012-03-07T11:11:35.083
I think this is related to http://superuser.com/questions/363141/using-git-through-cygwin-on-windows-8
– Daniel Stiner – 2012-03-27T02:09:46.283