Take the tour ×  When I commit changes on a SVN repository, I
always run into the following problem in the terminal in Ubuntu:
Error reading /home/ssylee/.nano_history: Permission denied  Any
ideas how to solve it?  share|improve this question As you can
see, there are many ideas on how to solve it, but it kind of
depends on why exactly you're experiencing the problem in the
first place. –  David Z Jul 4 '10 at 6:19 To reproduce: sudo rm
-f ~/.nano_history (remove the file), sudo nano somefile (edit
some file as root), ^K sometext (search for some text), ^X
(exit), nano somefile (edit some file as you). You'll see Error
reading /home/ssylee/.nano_history: Permission denied. nano
creates .nano_history to store your search history. The file
belongs to root if it is created during a sudo nano session. – 
Iain Elder Sep 28 at 11:58 add comment  5 Answers  The fix
requires editing the nano configuration file /etc/nanorc and
deleting /home//.nano_history.  First comment out the set
historylog parameter of nanorc w