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 2 macs, and use Dropbox a lot. On my MacBook I have one folder synced with Dropbox (through a symlink, ln -s ~/folder ~/Dropbox) that is actually in my ~/Library directory, so it's hidden. It was a while ago, but I somehow got symlinks to work for it (I cant remember how now!). On my new iMac when I do it, the symlink file won't work, because it's linking to a file it doesn't have permission to see (needs sudo password).

Can anyone remind me how I did this (or show me a new way?).. Thanks

EDIT: As pointed out, ~/Library is not hidden at all :) ... I have no idea why Dropbox won't upload it then. This happened before on my MacBook, and I can't remember what I did to fix it..

share|improve this question
Why would you need sudo to access a file in ~/Library? ~/Library, by definition, is yours! Also, I can't use Dropbox to verify, but does… help out? – Josh Hunt Apr 16 '13 at 9:55
Yes that is very true, it doesn't need a password.. I don't know why it's not working on my iMac then, but I remember it wasn't working before on my MacBook, I just can't remember what I did. Dropbox refuses to upload it in anyway – Conor Taylor Apr 16 '13 at 10:06
What exactly is the file that does not work and what are its permissions – Mark Apr 16 '13 at 10:16
That's a good question.. On my MacBook it's 777 (drwxrwxrwx, yeah it's a directory), but I'll have to check it out on my iMac when I get home – Conor Taylor Apr 16 '13 at 10:26

Symlinks work for hidden files.

When you

ln -s ~/hiddenfile ~/folder/hiddenfile

there is a new file. But of course, you can't see it.

If the files name begins with a point (".vimrc"), you can't see it because finder doesn't show files with a point before the actual name.

share|improve this answer
Sorry, just realised its not a hidden file at all! Dropbox won't upload it for some reason – Conor Taylor Apr 16 '13 at 10:07

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.