|
发表于 2009-7-8 15:53:33
|
显示全部楼层
似乎如下
1. 需要设置CYGWIN环境变量,其值包含ntea和ntsec。详情请看/usr/share/doc/cygwin-doc-1.4/html/cygwin-ug-net/using-cygwinenv.html (需要安装cygwin-doc包)
(no)ntea - if set, use NT Extended Attributes to store UNIX-like inode information. This option only operates under Windows NT. Defaults to not set. Only FAT and NTFS support Extended Attributes, not FAT32, so it's of no use there. Furthermore, on NTFS partitions ntsec, which provides real permissions, overrides ntea, which only provides faked permissions. So setting ntea only makes sense if you either have FAT partitions, or if you switch off ntsec explicitely.
(no)ntsec - if set, use the NT security model to set UNIX-like permissions on files and processes. The file permissions can only be set on NTFS partitions. FAT/FAT32 don't support the NT file security. Defaults to set. For more information, read the documentation in the section called “NT security and usage of ntsec”.
2. cygwin完全依赖windows对文件系统进行管理,唯一不同就是模拟了符号链接。所以它也不能区分大小写,你说的问题应该支持tar碰见已有同名(仅有大小写)时并不报告错误信息,直接覆盖了。 |
|