readlink -f is not portable (appears to be GNU-specific)
Our recent changes to address #917 appear to have introduced a portability issue.
In particular, the use of the -f flag to readink appears to be a GNU-ism.
Other people have reported the same problem on Mac OS (and presumably other BSDs), and it's not clear that there's a quick or easy solution:
http://stackoverflow.com/questions/1055671/how-do-i-readlink-f-on-a-mac
Since we already have a dependency on perl, should we make a perl script to do the full "secure file" checking? that might give us easier access to portable system libraries without having to introduce arch-dependent material.
Or are there other ways we should be considering addressing the problems?
--dkg
(from redmine: created on 2009-07-17, closed on 2009-08-01)