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.

link|improve this question

33% accept rate
feedback

3 Answers

up vote 1 down vote accepted

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

link|improve this answer
feedback

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/
link|improve this answer
feedback

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

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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