bugGNU nano - Bugs: bug #47437, /etc/nanorc is not read by...


bug #47437: /etc/nanorc is not read by self-compiled nano

Submitted by:  Dominic Raferd <dominicr>
Submitted on:  Thu 17 Mar 2016 08:38:21 AM UTC  
Severity: 3 - NormalStatus: Works For Me
Assigned to: Benno Schulenberg <bens>Open/Closed: Closed

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sun 04 Dec 2016 03:11:51 AM UTC, comment #2:

This solved my problem.

Vlastimil Burian <burianvlastimil>
Thu 17 Mar 2016 08:56:06 AM UTC, comment #1:

Apparently you have compiled and installed nano yourself. If you didn't give the --prefix=/usr option to ./configure, nano will be installed in /usr/local/bin, and it will be looking for the main nanorc file in /usr/local/etc. If you make in that directory a symlink to /etc/nanorc, things should start to work.

sudo ln -nsf /etc/nanorc /usr/local/etc/

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Thu 17 Mar 2016 08:38:21 AM UTC, original submission:

I can't get /etc/nanorc to be read by nano 2.5.3 except by creating .nanorc as a symlink to it. The problem seems to have nothing to do with permissions as it even happens when running nano with sudo.

Tested under Ubuntu 15.10.

Dominic Raferd <dominicr>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by burianvlastimil (Posted a comment)
  • -email is unavailable- added by bens (Posted a comment)
  • -email is unavailable- added by dominicr (Submitted the item)
  • -email is unavailable- added by dominicr

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 14 Nov 2017 07:35:46 PM UTCbensOpen/ClosedOpen=>Closed
    Fri 18 Mar 2016 06:31:58 PM UTCbensStatusNone=>Works For Me
      Summary/etc/nanorc not read by nano 2.5.3=>/etc/nanorc is not read by self-compiled nano
    Thu 17 Mar 2016 08:56:06 AM UTCbensAssigned toNone=>bens
    Thu 17 Mar 2016 08:38:21 AM UTCdominicrCarbon-Copy-=>Added dominicr

    Back to the top

    Powered by Savane 3.1-cleanup1