Whenever I\'m trying to synchronize/update my projects with SVN repo it asks me for password. It drives me nuts, I\'m checking \"save password\" checkbox and it doesn\'t work at
There are high chances that Eclipse (at least mine does: Eclipse 4.8.0 with Subclipse and SVNKit 1.8.12) is using the password storage of the command line Subversion utilities which are stored (at least under Linux) under ~/.subversion/auth/svn.simple
.
As Daniel Juniszek pointed out in his answer you could edit this by hand, but doing this from command line is a little bit simpler:
Do an svn up
in the project folder, give your password if it asks for, and enter yes for the Store password unencrypted (yes/no)?
question.
After it finished updating successfully, do an svn up
again to check that it does not ask for your password again.
If it asks again then maybe you have the same problem as me:
I had wrong permissions set on two hash files in the above directory (it was r--r--r-- instead of rw-r--r--) so the subversion command was unable to update the file. After I changed the permission with a chmod u+w ~/.subversion/auth/svn.simple/YOUR_FILENAME_HERE
command, the svn up
updated the file with the password and finally Eclipse stopped asking me for password as well.