** Summary changed:

- new users don't have /snap/bin in PATH
+ new users don't have /snap/bin in PATH when using 'su user'

** Description changed:

  If you create a second user, they do not have /snap/bin in their PATH by
- default. This is both for users created with adduser and those created
- via the default gui (unity-control-center I think).
+ default when login in using 'su user'. This is both for users created
+ with adduser and those created via the default gui (unity-control-center
+ I think).
  
  This means that new users cannot use snaps from the command line.
  
  Workaround:
- Manually add /snap/bin to your PATH, by adding 
+ Manually add /snap/bin to your PATH, by adding
  PATH=$PATH:/snap/bin
  
  to your .bashrc file
+ 
+ Note: /snap/bin is in the PATH when doing a regular login in via
+ lightdm.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: snapd 2.0.8
  ProcVersionSignature: Ubuntu 4.4.0-24.43-generic 4.4.10
  Uname: Linux 4.4.0-24-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2.1
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Fri Jun 17 08:17:52 2016
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2016-05-26 (21 days ago)
  InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 
(20160420.1)
  SourcePackage: snapd
  UpgradeStatus: No upgrade log present (probably fresh install)

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

Title:
  new users don't have /snap/bin in PATH when using 'su user'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1593578/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to