Missing write permissions in home/user/anaconda2
Solution 1:
The problem was that somehow "anaconda2" folder where "anaconda" is installed, was set to 'access only' because the owner of "anaconda2" folder was "root". Now I have changed the ownership of "anaconda2" folder by using command
sudo chown -R ws2 anaconda
sudo chown -R usr foldername