xdg-user-dirs doesn't work reliably with mount points

Bug #997804 reported by David Burke
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xdg-user-dirs (Ubuntu)
New
Undecided
Unassigned

Bug Description

In theory I should be able to set xdg-user-dirs DESKTOP=Documents/Desktop which happens to be how Windows stores it's desktop files. Then mount (I use pam_mount) Documents as a smb share. This works about half of the time, assumably a race condition between mounting the share and setting xgd user dirs. Half the time Desktop defaults to Home instead of where it was set to.

I've come up with a terrible work around on my blog. http://davidmburke.com/2012/05/10/settings-desktop-to-be-documentsdesktop/ The work around involves running xdg-user-dirs and restarting nautilus a few seconds after the user logs in.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: xdg-user-dirs 0.14-0ubuntu2
ProcVersionSignature: Ubuntu 3.2.0-24.37-generic-pae 3.2.14
Uname: Linux 3.2.0-24-generic-pae i686
NonfreeKernelModules: wl
ApportVersion: 2.0.1-0ubuntu7
Architecture: i386
Date: Thu May 10 17:06:16 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423)
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: xdg-user-dirs
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.xdg.user.dirs.defaults: 2012-05-10T15:43:31.187085

Revision history for this message
David Burke (bufke) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.