Mail Archives: cygwin/2000/05/05/19:15:57
--------------17459AA74F90FD64E3E9C372
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Hello again,
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 AT 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
--------------17459AA74F90FD64E3E9C372
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Hello again,
<p>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.
<p>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.
<p>The problem is when I do grep --recursive foo I get a permission denied
message for each subdirectory of the current directory. I.e.:
<p>[jay AT YEMAYA grep-2.4] grep --recursive CONTEXT_DEBUGGER *
<br>grep: bootstrap: Permission denied
<br>grep: djgpp: Permission denied
<br>(and so on for each and every subdir)...
<p>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):
<p><tt>drwxr-xr-x 6 jay None
81920 May 5 12:35 bfd/</tt>
<br><tt>drwxr-xr-x 3 jay None
20480 Apr 7 1999 config/</tt>
<br><tt>drwxr-xr-x 2 jay None
4096 May 5 12:33 etc/</tt>
<br><tt>drwxr-xr-x 12 jay None
114688 May 5 12:36 gdb/</tt>
<br><tt>drwxr-xr-x 2 jay None
0 May 5 12:29 i686-pc-cygwin32/</tt>
<br><tt>drwxr-xr-x 9 jay None
8192 Apr 7 1999 include/</tt>
<br><tt>drwxr-xr-x 2 jay None
12288 May 5 12:33 intl/</tt>
<br><tt>drwxr-xr-x 3 jay None
24576 May 5 12:33 libiberty/</tt>
<br><tt>drwxr-xr-x 2 jay None
8192 May 5 12:35 mmalloc/</tt>
<br><tt>drwxr-xr-x 4 jay None
24576 May 5 12:35 opcodes/</tt>
<br><tt>drwxr-xr-x 6 jay None
20480 May 5 12:35 readline/</tt>
<br><tt>drwxr-xr-x 21 jay None
4096 May 5 12:32 sim/</tt>
<br><tt>drwxr-xr-x 3 jay None
4096 Apr 7 1999 texinfo/</tt>
<br><tt>drwxr-xr-x 7 jay None
4096 May 5 12:33 utils/</tt>
<p>One curiousity is trying to chown jay.Users * changed nothing.
<p>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.
<p>Thanks and regards,
<br>Jay Bromley</html>
--------------17459AA74F90FD64E3E9C372--
- Raw text -