And permissions for a symbolic link /are/ relevant; you cannot readlink() a symbolic link that has no read permission. (try ls -l /proc/1)
-- Michiel Boland <boland@sci.kun.nl> University of Nijmegen The Netherlands