This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
I recently installed a cygwin 1.1.0 and find it is great (thanks to those who have made this possible, it makes working in the M$ world bearable.) I am having some oddness related (I believe) to how cygwin interacts with NTFS.
My problem started when I wanted a recursive grep (yeah, I know about find | xargs grep foo) program. I downloaded the latest grep from ftp.gnu.org, did ./configure and then make from the top level grep-2.4 directory and everything worked great. The build succeeded, when I tried make check all 8 tests were passed.
The problem is when I do grep --recursive foo I get a permission denied message for each subdirectory of the current directory. I.e.:
[jay@YEMAYA grep-2.4] grep --recursive CONTEXT_DEBUGGER *
grep: bootstrap: Permission denied
grep: djgpp: Permission denied
(and so on for each and every subdir)...
Grep works fine non-recursively. I have set up both /etc/group (mkgroup -l > group) and /etc/passwd (mkpasswd -l > passwd). The directory in question looks like (minus non-directories):
drwxr-xr-x 6 jay None
81920 May 5 12:35 bfd/
drwxr-xr-x 3 jay None
20480 Apr 7 1999 config/
drwxr-xr-x 2 jay None
4096 May 5 12:33 etc/
drwxr-xr-x 12 jay None
114688 May 5 12:36 gdb/
drwxr-xr-x 2 jay None
0 May 5 12:29 i686-pc-cygwin32/
drwxr-xr-x 9 jay None
8192 Apr 7 1999 include/
drwxr-xr-x 2 jay None
12288 May 5 12:33 intl/
drwxr-xr-x 3 jay None
24576 May 5 12:33 libiberty/
drwxr-xr-x 2 jay None
8192 May 5 12:35 mmalloc/
drwxr-xr-x 4 jay None
24576 May 5 12:35 opcodes/
drwxr-xr-x 6 jay None
20480 May 5 12:35 readline/
drwxr-xr-x 21 jay None
4096 May 5 12:32 sim/
drwxr-xr-x 3 jay None
4096 Apr 7 1999 texinfo/
drwxr-xr-x 7 jay None
4096 May 5 12:33 utils/
One curiousity is trying to chown jay.Users * changed nothing.
Also, I am curious as to what setting the CYGWIN=ntsec environment setting really does. I haven't been able to find too much about this. I would appreciate any pointers about how permissions work in cygwin.
Thanks and regards,
Jay Bromley
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |