[Gllug] Symbolic links and relative paths
Tom Schutzer-Weissmann
TSCHUTZER-WEISSMANN at ofsted.gov.uk
Mon Feb 2 17:07:10 UTC 2004
Is it possible to use symbolic links in such a way that relative paths
are relative to where the symlink is, not to where it points to?
ie
ln -s /tmp /home/tom/sandpit
ls /home/tom/sandpit/../Mail
won't work because there is no /tmp/../Mail. There is /home/tom/Mail,
however, and that's what I want. Well, for the purposes of explanation
anyway.
thank y'all
TSW
**********************************************************************
We cannot accept any liability for any loss or damage
sustained as a result of software viruses. It is your
responsibility to carry out such virus checking as is necessary before opening any attachment to
this message.
The information in this email and any files transmitted with
it may be of a confidential nature and is intended solely for
the addressees. If you are not the intended addressee, any
disclosure, copying or distribution by you is prohibited and
may be unlawful.
www.ofsted.gov.uk
**********************************************************************
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list