Re: default ACLs

2009-10-24 Thread Mikel Ward
Corinna wrote: > I applied a patch to Cygwin CVS which seems to work fine. That will > be in the next 1.7.0 test release. Thank you so much! -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.htm

Re: default ACLs

2009-10-23 Thread Mikel Ward
Corinna wrote: > Neither the NtCreateFile function, nor the > CreateFile function handle ACE inheritance either. Looks like that's only if lpSecurityAttributes is non-NULL, but I guess Cygwin uses that field? "Windows Server 2003 and Windows XP/2000: For backward compatibility purposes, CreateF

default ACLs

2009-10-22 Thread Mikel Ward
Hi All Default ACLs don't seem to work as they would on Linux, or for that matter as they do for files created via Windows Explorer. Is this expected? administra...@hostname:/ $ mkdir newdir administra...@hostname:/ $ getfacl newdir # file: newdir # owner: Administrator # group: None user::rwx

Re: ls / does not show /c with cygdrive prefix=/

2009-09-29 Thread Mikel Ward
Corinna Vinschen wrote: > > I don't know what you would like to read. It's part of the way the > Cygwin DLL handles that stuff. To enumerate the available > directories, > the directory opened with opendir() must have been recognized as the > cygdrive directory. If that happens, *only* drives a

Re: ls / does not show /c with cygdrive prefix=/

2009-09-29 Thread Mikel Ward
Corinna Vinschen wrote: > > Is there any way to disable this special case to get the behavior I want > > with prefix=/? > > No, sorry. OK. I don't understand why, but if you don't have time to explain, that's fine. But are there any other possible problems with having prefix=/ that I should be

Re: ls / does not show /c with cygdrive prefix=/

2009-09-28 Thread Mikel Ward
Corinna Vinschen wrote: > Mikel Ward wrote: > > If I use a standard install with the cygdrive prefix as /cygdrive, the > > drive letters appear in a directory listing: > > > > $ ls /cygdrive > > c d w > > > > But if I change cygdrive to /, they don

ls / does not show /c with cygdrive prefix=/

2009-09-27 Thread Mikel Ward
Hi All If I use a standard install with the cygdrive prefix as /cygdrive, the drive letters appear in a directory listing: $ ls /cygdrive c d w But if I change cygdrive to /, they don't: $ mount -c / $ ls / Cygwin.bat bindev home optsbin usr Cygwin.ico cygdrive etc lib

Re: perl -r says readable dir is unreadable

2009-04-25 Thread Mikel Ward
Sorry. Found this http://sourceware.org/ml/cygwin/2005-03/msg00488.html Apparently it's been an issue since at least Perl 5.8.6 in 2005, but probably longer. On Sun, Apr 26, 2009 at 2:37 PM, Mikel Ward wrote: > Hi > > I'm having problems with a Perl script that works fine on

perl -r says readable dir is unreadable

2009-04-25 Thread Mikel Ward
Hi I'm having problems with a Perl script that works fine on Linux. The key is that the -r (file is readable) operator returns false for directories that I CAN read. "test" and "ls" prove that I can read them. Something that might be related is that C:, C:\Windows, and others are owned by the "