desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #90949
[Bug 873284] Re: Chrome shows errors after being run with "sudo"
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: chromium-browser (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to chromium-browser in Ubuntu.
https://bugs.launchpad.net/bugs/873284
Title:
Chrome shows errors after being run with "sudo"
Status in chromium-browser package in Ubuntu:
Confirmed
Bug description:
After being run with "sudo", Chrome starts to pop up a pair of boxes
that say "Your preferences cannot be read" (and, obviously, fails to
read the preferences.) The problem is that two of the files in the
~user/.config directory are now owned by root and have 0700 as their
permissions, and therefore cannot be read by the non-root user.
Instant (but not permanent) fix: sudo chown $LOGNAME:$LOGNAME
~/.config/chromium/{Local\ State,Default/Preferences}
Permanent fix: Write the pref data to the EUID's (rather than the
RUID's) ~/.config directory. Failing that, at least make the error
message clearer and more useful - perhaps by listing the affected
files and giving the above solution so that the user knows what to do
to fix it.
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: chromium-browser 12.0.742.112~r90304-0ubuntu0.11.04.1
ProcVersionSignature: Ubuntu 2.6.38-11.50-generic 2.6.38.8
Uname: Linux 2.6.38-11-generic i686
Architecture: i386
Date: Thu Oct 13 07:49:10 2011
Desktop-Session:
DESKTOP_SESSION = gnome-classic
XDG_CONFIG_DIRS = /etc/xdg/xdg-gnome-classic:/etc/xdg
XDG_DATA_DIRS = /usr/share/gnome-classic:/usr/share/gnome:/usr/local/share/:/usr/share/
Env:
MOZ_PLUGIN_PATH = None
LD_LIBRARY_PATH = None
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
ProcEnviron:
LANGUAGE=en_US:en
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: chromium-browser
UpgradeStatus: No upgrade log present (probably fresh install)
chromium-default: CHROMIUM_FLAGS=""
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/873284/+subscriptions