In questi giorni sto usando in modo massiccio la shell Bash.. Bene, oggi mi è capitato il seguente errore avviando nano, l’editor di testo predefinito di Ubuntu:
Errore durante la lettura di /home/redblue/.nano_history: Permesso negato
Premere Invio per continuare l’avvio di nano
Non so dire sinceramente da cosa sia dipeso l’errore in questione, e più che di un errore si tratta di un fastidio, dato che ogni volta costringe a premere Invio per avviare l’editor. Rapido giro nella documentazione di Ubuntu, ed ecco la soluzione!!
Primo, si deve editare il file [code]]czoxMTpcIi9ldGMvbmFub3JjXCI7e1smKiZdfQ==[[/code] e commentare (ovvero aggiungere il #) alla seguente linea:
[code]]czoxNDpcInNldCBoaXN0b3J5bG9nXCI7e1smKiZdfQ==[[/code]
Secondo, cancellare il file in questione:
[code]]czoyMTpcInN1ZG8gcm0gLm5hbm9faGlzdG9yeVwiO3tbJiomXX0=[[/code]
Fatto, errore eliminato.. 😉
Alla prossima..
Nice post.
You can solve that issue justo changing the owner of the file .nano_history, because it belongs to root.
$ chown username:groupname .nano_history
Optionally you can set permissions properly.
$ chmod 766 .nano_history
Hi!! And thank you very much for your tip!! 😉