I am receiving an error from an application I am running.
The error looks like this:
john@john-replacement:~/Desktop/yarbu-1.4.8/bin$ sudo yarbu-engine --VERBOSE
/usr/local/bin/yarbu-engine: line 996: cd: /usr/local/bin/../../etc/yarbu/conf/default: No such file or directory
What do the dots mean in /usr/local/bin/../../etc/ ?
cd .., which sanitizes the path usingrealpath. If one of the path components of/usr/local/binis a symbolic link which points somewhere else, thenrealpathsanitization will not point to the same directory. e.g. if/usr/localis a synlink to/opt/unspecified,/usr/local/bin/../../etc/yarbu/conf/defaultis resolved as/opt/etc/yarbu/conf/default, butrealpathsanitizes it as/usr/etc/yarbu/conf/default. Just nitpicking here. In contrast,ls ../../etc/yarbu/conf/defaultwhile in/usr/local/binworks. – BatchyX Dec 27 '12 at 21:16