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


You are not allowed to post comments on this tracker with your current authentication level.

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 - Normal Status:  Works For Me
Assigned to:  Benno Schulenberg <bens> Open/Closed:  Closed

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>


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 add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-11-14 bens Open/ClosedOpen => Closed
    2016-03-18 bens StatusNone => Works For Me
        Summary/etc/nanorc not read by nano 2.5.3 => /etc/nanorc is not read by self-compiled nano
    2016-03-17 bens Assigned toNone => bens
    2016-03-17 dominicr Carbon-Copy- => Added dominicr

    Back to the top

    Powered by Savane 3.7