a simpler/cleaner (?) way would be to add a script in
/etc/X11/Xsession.d/, those are run as the user so no sudo'ing is
necessary (and I used /tmp, for keeping the namespace cleaner). This is
what we have now:

# create users gvfs mountpoint in /tmp
[ ! -d /tmp/.gvfs-$USER ] && mkdir -m 0700 /tmp/.gvfs-$USER
# remove ~/.gvfs and create the symlink
rmdir ~/.gvfs 2>/dev/null || rm ~/.gvfs
ln -s /tmp/.gvfs-$USER ~/.gvfs

-- 
gvfs-fuse fails to start on NFS mounted homes
https://bugs.launchpad.net/bugs/435719
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to