在win7下安装cygwin成功后,其中包含了openssh ssl,安装路径c:\cygwin. 安装Openssh,在shell下输入ssh-host-config -y报错*** Warning: The owner and the Administrators need*** Warning: to have .r.x permission to /var/empty.*** .........*** Warning: Please change the user and/or group ownership and*** Warning: permissions, or ACLs of /var/empty.*** ERROR: Problem with /var/empty directory. Exiting.
cygwin装在非NTFS分区下时会出现这样的问题
将cygwin装在NTFS分区的盘下就OK了。