For ls it's true, because ~ is expanded by bash. Python works in a bit 
different way:
    $ sudo python
    >>> import os
    >>> os.getenv("HOME")
    >>> import os.path
    >>> os.path.expanduser("~")

Yes, there are few environment variables preserved (like USERNAME), but
sudo changes your working environment (you can easily check: compare
`env` output with `sudo env` output).

So, for zeitgeist-daemon running as root it's home directory is /root
and we should decide what to do in this kind of a situation. Should I
report this directly to Zeitgeist and see if daemon guys can figure
something out?

You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Data-Sources.

  Add support for yum

Status in Zeitgeist Data-Providers:

Bug description:
  I'm not sure if adding this to Zeitgeist makes sense, but sometimes I would 
like to see what package (and when) I've installed without opening PackageKit 
and browsing logs.
  If Zeitgeist Data-Providers team also would like this in Zeitgeist, I'm 
willing to write a plugin.

Mailing list:
Post to     :
Unsubscribe :
More help   :

Reply via email to