[Xfce-bugs] [Bug 8154] New: xinitrc tries to delete $HOME when migrating Desktop

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Tue Nov 15 08:32:04 CET 2011


https://bugzilla.xfce.org/show_bug.cgi?id=8154

             Bug #: 8154
           Summary: xinitrc tries to delete $HOME when migrating Desktop
    Classification: Xfce
           Product: Xfce-utils
           Version: 4.8.2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: Medium
         Component: General
        AssignedTo: xfce-bugs at xfce.org
        ReportedBy: mark at foresightlinux.org


Created attachment 3960
  --> https://bugzilla.xfce.org/attachment.cgi?id=3960
proposed untested patch

When $XDG_DESKTOP_HOME is set to $HOME (which is allowed in the spec in case
you don't want a Desktop folder at all) xinitrc tries to delete $HOME when
migrating Desktop. Fortunately rmdir fails because $Home is not empty.
probably it should check for $HOME" != "$XDG_DESKTOP_DIR before migrating the
desktop.

-- 
Configure bugmail: https://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Xfce-bugs mailing list