3
1
Let's say I have file A, and using 'ln -s A B', I have B.
When I open, edit and save B, now B is not symlink anymore. It's just a new copy of A.
- Is this expected behavior? I use Mac OS X, and I wonder it's common in UNIX.
- In this case, is there any way to keep B as a (soft link) to A? Or, make B as the hard link would be the only way to solve this issue?
- What's the advantage of using soft link than hard link?
ADDED
The editor that I use is 'TextMate' on Mac.
What editor are you using? – Jason Axelson – 2010-09-02T03:44:03.947
Report a bug in the editor - not nice behaviour. – Jonathan Leffler – 2010-09-02T04:49:44.907