This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: link cmd
- To: gnu-win32 at cygnus dot com
- Subject: Re: link cmd
- From: John Mullee <john at exmachina dot net>
- Date: Fri, 30 Oct 1998 16:16:00
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".