← Back to team overview

touch-packages team mailing list archive

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

 

It turns out that Ubuntu carries a patch for sudo that Debian doesn't: see keep_home_by_default.patch [1].
See also the changelog [2], somewhere in item 72.  So I think one should ask the Ubuntu maintainer of sudo what the motivation for this patch is.  And if there is no strong reason for it, ask him to drop it.  That would solve this issue.

[1] https://bazaar.launchpad.net/~ubuntu-branches/ubuntu/wily/sudo/wily-proposed/files/head:/debian/patches/
[2] https://code.launchpad.net/~ubuntu-branches/ubuntu/wily/sudo/wily

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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:
  Confirmed

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


References