The following will trigger the behaviour, so the common cause seems to
be libgio:

#include <gio/gio.h>
#include <stdio.h>

int main(int argc, char **argv)
{  char *path;
   GFile *file;

   g_type_init();

   if(argc != 2) exit(1);

   path=argv[1];

   printf("Moving %s to trash...\n", path);

   file = g_file_new_for_path(path);

   /* The following call hangs for about one minute
      if path points to NFSv4 mounted volumes with
      Kerberos, then succeeds. */

   if (g_file_trash(file, NULL, NULL))
     printf("true\n");
   else
     printf("false\n");
}

** Also affects: glib2.0 (Ubuntu)
   Importance: Undecided
       Status: New

** Summary changed:

- Nautilus and Thunar freeze system when trashing files in kerberized, NFS 
mounted homes
+ libgio's move-to-trash funciton freezes system when trashing files in 
kerberized, NFS mounted filesystems

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to glib2.0 in Ubuntu.
https://bugs.launchpad.net/bugs/1051952

Title:
  libgio's move-to-trash funciton freezes system when trashing files in
  kerberized, NFS mounted filesystems

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glib2.0/+bug/1051952/+subscriptions

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

Reply via email to