[Bug 1471459] Re: First run of nano creates a directory in $HOME, if run as sudo will be root owned

Launchpad Bug Tracker 1471459 at bugs.launchpad.net
Sat Feb 13 00:06:34 UTC 2016


This bug was fixed in the package nano - 2.5.2-1

---------------
nano (2.5.2-1) unstable; urgency=medium

  * New upstream release.
    - Ignores $HOME when effective user is root, to avoid creating root-owned
      files when for example invoking under sudo (LP: #1471459).
  * Sync debian/nanorc with upstream nanorc.sample.
  * Use https for the download URL and Vcs-Browser.

 -- Jordi Mallach <jordi at debian.org>  Fri, 12 Feb 2016 14:29:11 +0100

** Changed in: nano (Ubuntu)
       Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to nano in Ubuntu.
https://bugs.launchpad.net/bugs/1471459

Title:
  First run of nano  creates a  directory in $HOME, if run as sudo will
  be root owned

Status in One Hundred Papercuts:
  Confirmed
Status in nano package in Ubuntu:
  Fix Released

Bug description:
  If nano is started for the first with sudo then a root owned directory named .nano is created in the user's $HOME directory.
  If 1st. started as a user then the user owns .nano & ownership will not be altered by subsequent use of sudo nano.

  ProblemType: Bug
  DistroRelease: Ubuntu 15.10
  Package: nano 2.4.1-1
  ProcVersionSignature: Ubuntu 3.19.0-22.22-generic 3.19.8-ckt1
  Uname: Linux 3.19.0-22-generic x86_64
  ApportVersion: 2.17.3-0ubuntu4
  Architecture: amd64
  Date: Sat Jul  4 20:06:16 2015
  InstallationDate: Installed on 2015-02-25 (128 days ago)
  InstallationMedia: Xubuntu 15.04 "Vivid Vervet" - Alpha amd64 (20150224)
  SourcePackage: nano
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1471459/+subscriptions



More information about the foundations-bugs mailing list