Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a share on Lion Server, and a symlink pointing to a directory outside the share. The symlink is working properly when user is logged into the machine via ssh (so permissions are fine), but when accessing the filesystem via AFP or CIFS, the link is broken.

Is there a setting that allows to follow symlinks outside shared folders?

share|improve this question
Did you try to share the specific file (the target of the symlink) directly? – patrix Dec 21 '12 at 12:34
No, because I'd prefer to limit the number of shares on the server – CharlesB Dec 21 '12 at 12:38
Ah, wait, you have the symlink in a shared folder on the server and the symlink points to a physical file outside the share, correct? – patrix Dec 21 '12 at 12:50
exactly (points to a folder but doesn't matter) – CharlesB Dec 21 '12 at 12:57
I don't think it is possible with CIFS (Windows Sharing) or NFS, because a symlink gives a hint on how to find the target file/folder, but since it is located outside the share it can't be found. You could try hard linking with ln -d but it didn't work for me (see man ln for details). Is it possible to share the folder as a WebDAV share? I guess it would then be possible to configure Apache to follow symlinks... (see…). – jaume Dec 21 '12 at 23:30

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.