This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: link cmd


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".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]