link cmd

John Mullee john@exmachina.net
Fri Oct 30 08:56:00 GMT 1998


At 17:00 1998-10-28 +0000, you wrote:
>I'm using B19 gnuwin32 on a NT machine. When i try to link from a remote file
>to a local file as in
>ln -s //l/build/toto/foo.c /build/foo.c    the link works
>but if i edit the file i only have
>!<symlink>//l/build/toto/foo.c instead of the file. How can i have the
contents
>of the file without copying the file ?

I think the problem comes from Cygnus\B19\src\winsup\syscalls.cc;
stat seems to fail, or for some reason or other permission is denied...

 bash-2.01$ ln -dvfi  /var/john ./jm
 create hard link ./jm to /var/john
 ln: cannot create hard link `./jm' to `/var/john': Permission denied

 bash-2.01$ mkpasswd -l
 Administrator::500:513:::/bin/sh

 bash-2.01$ chown Administrator .
 chown: Administrator: invalid user


Hm.

bash-2.01$ echo something > there
bash-2.01$ ln -s there here
bash-2.01$ cat here
something
bash-2.01$ notepad here
  (shows  !<symlink>there  )

John.

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list