Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

3 Answers 3

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

Regards

share|improve this answer

Your Answer

 
discard

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.