Mail Archives: cygwin/2003/07/23/16:11:16
On Sat, 19 Jul 2003, Samuel Thibault wrote:
> Le sam 19 jui 2003 00:39:13 GMT, Christopher Faylor a tapot sur son clavier :
> > On Fri, Jul 18, 2003 at 09:38:46PM -0400, Samuel Thibault wrote:
> > >Hi,
> > >
> > >We have installed cygwin on w2k (5.00.2195 service pack 3), but the
> > >files are actually hosted by a samba server, connected on S:\, and we
> > >login to the box via rsh x11.
> > >
> > >The problem we're having is
> > >
> > >$ cat << EOF
> > >> foo
> > >> EOF
> > >cat: -: Permission denied
> > >
> > >this is the same with dd, ... so the problem must be with bash.
> > >I tried by copying bin/ on the local drive, relaunching bash.exe and
> > >cat.exe from there, same problem, so it might not be because of the
> > >networking thing.
> > >
> > >Is this a known limitation ? I couldn't find anything in the documentation
> > >or the FaQ
> >
> > http://cygwin.com/problems.html
>
> Oops, sorry I missed cygcheck, here it is.
Well, quoting your cygcheck output:
> s:\arch\windows-i386\cygwin\bin\id.exe output (nontsec)
> UID: 400(sthibaul) GID: 401(mkpasswd)
> 401(mkpasswd)
>
> s:\arch\windows-i386\cygwin\bin\id.exe output (ntsec)
> UID: 400(sthibaul) GID: 401(mkpasswd)
> 545(Utilisateurs) 10513(mkgroup_l_d)
> 401(mkpasswd)
Basically, this means that your /etc/passwd and /etc/group files aren't up
to date. Try updating them and re-running your command.
Also, your strace output isn't useful, primarily because you weren't
tracing the relevant parts of the command. You should have run
strace -o trace bash -c "cat <<EOF
foo
EOF"
This would have included the way bash resolves the "here document" in the
trace.
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster." -- Patrick Naughton
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -