Subject: Re: link cmd
From: [email-masked] (John Mullee)

31 Oct 1998 03:34:19 -0800
Message-ID: <[email-masked]>
References: <5060200020916743000002L032*@MHS>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
To: [email-masked]

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
"[email-masked]" with one line of text: "help".