Super User is a question and answer site for computer enthusiasts and power users. 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 grant read privilege to all the users to my .vimrc file . But my colleague still can't read my .vimrc file . I guess in addiction to give the read privilege to the .vimrc file, in some way I should give the person who want to read it the "access right" to my home directory first---which I don't know how to do it.

share|improve this question
up vote 1 down vote accepted

Perhaps you need the "x" privilege on your home directory.

share|improve this answer

First, choose a directory that anyone can access (for example /home/public )

Second, create a symbolic link of this file into this directory

$ln -sv ~/.vimrc /home/public/
share|improve this answer

if your colleagues are members of your group you could grant access to your home directory by chmod g+x /home/yourname, and then chmod g+r /home/yourname/.vimrc


share|improve this answer

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.