Bug 49492 - Uses ~/.PackageKit
Summary: Uses ~/.PackageKit
Status: RESOLVED FIXED
Alias: None
Product: PackageKit
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Richard Hughes
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-04 07:06 UTC by william.jon.mccann
Modified: 2012-05-15 06:35 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.