Hi,

I'm currently using UWin to run the build system for a large Unix
suite that I am porting to Windows. Some of the software is using the
Windows symbolic-link support on NTFS systems that first shipped with
Windows Vista. I mention this as opposed to the meaning of "ln -s" in
UWin, which creates a shortcut.

Today I finally realized what was causing one of my weird problems:
the UWin rm, when it looks at one of these symlinks, deletes the
_target_ of the link rather than the link itself. This
is...problematic, to say the least.

Hopefully this illustrates what I mean:

$ which rm
/usr/bin/rm
$ cat > src/target
Hi there
$ ls -l src/target symlink
-rw-r--r--   1 jpile Domain+Users        9 Aug 23 15:00 src/target
lrwx------   1 Administrators Domain+Users        7 Aug 23 15:00
symlink -> /K/tmp/src/target
$ cat symlink
Hi there
$ rm symlink
$ ls -l src/target symlink
ls: src/target: not found
lrwx------   1 Administrators Domain+Users        7 Aug 23 14:38
symlink -> /K/tmp/symlink


-jP
_______________________________________________
uwin-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/uwin-users

Reply via email to