delorie.com/archives/browse.cgi | search |
Charles Wilson wrote: > > It looks like there's a problem with 'mkdir -p' in cygwin-CVS. I'll dig > around and see what's changed in there recently...unless anybody already > knows offhand? Well, by process of elimination, it seems that the problem first appears between the 20010707 and 20010710 snapshots. What problem? This one: $ mkdir -p a/b/c/d $ ls -lF a/b/c d--------- user group date d/ (Note that 'ls -lFd a' indicates that the expected permissions are set on 'a' -- it's just the children directories that don't have the correct perms) On cygwin-1.3.2 and snapshots prior to 20010709, the correct result: $ mkdir -p a/b/c/d $ ls -lF a/b/c drwxrwxr-x user group date d/ Between 20010707 and 20010710, the following patches were committed to CVS ( my bet is that the security.cc change is causing the problem --did I mention that I'm on NTFS under W2K? ) Anyway, more details to follow... Changes by: corinna AT sources DOT redhat DOT com 2001-07-09 02:02:42 Modified files: winsup/cygwin : ChangeLog security.cc Log message: * security.cc (alloc_sd): Don't set inheritance attribute for permissions given to directories. Changes by: corinna AT sources DOT redhat DOT com 2001-07-09 02:05:19 Modified files: winsup/cygwin : ChangeLog uinfo.cc Log message: * uinfo.cc (internal_getlogin): Add pointer check. Changes by: duda AT sources DOT redhat DOT com 2001-07-09 07:44:27 Modified files: cinstall : ChangeLog choose.cc Log message: * choose.cc: Use system foreground color for text output. Changes by: corinna AT sources DOT redhat DOT com 2001-07-10 14:04:17 Modified files: winsup/cygwin : ChangeLog mmap.cc Log message: * mmap.cc (fhandler_disk_file::mmap): Try to open file mappings by a unified name when running under 9x/ME. If that failes, create the file mapping using the unified name. --Chuck
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |