Bug 49492

Summary: Uses ~/.PackageKit
Product: PackageKit Reporter: william.jon.mccann
Component: GeneralAssignee: Richard Hughes <richard>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description william.jon.mccann 2012-05-04 07:06:04 UTC
The code has:
	path = g_build_filename (g_get_home_dir (), ".PackageKit", subfolder, NULL);

It would be better to use a directory from the XDG Basedir spec. Please see https://live.gnome.org/GnomeGoals/XDGConfigFolders
Comment 1 Richard Hughes 2012-05-15 06:35:16 UTC
commit 2b2aa450739b5271311ad5b006319f61b88ac55a
Author: Richard Hughes <richard@hughsie.com>
Date:   Tue May 15 14:33:39 2012 +0100

    glib: Use the correct user-cache directory
    
    Do not create and use ~/.PackageKit when copying files out of GVFS shares.
    
    Resolves https://bugs.freedesktop.org/show_bug.cgi?id=49492

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.