← Back to team overview

touch-packages team mailing list archive

[Bug 1495781] Re: Can't move to trash in data partition

 

*** This bug is a duplicate of bug 1449112 ***
    https://bugs.launchpad.net/bugs/1449112

@Rik Shaw, do you meaning the logic of patch?

I was dis-asm the file of glib, find the position of 'if condition' on line 44 in http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/vivid/glib2.0/vivid-proposed/revision/227#debian/patches/0001-Fix-trashing-on-overlayfs.patch
change the machine instruction to jump(0xeb), then this if block will be skipped.

It's just a simple hack to fix it. Compile source code without that
patch is correct and more safer way.

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

Title:
  Can't move to trash in data partition

Status in glib2.0 package in Ubuntu:
  Confirmed

Bug description:
  I have a clean install of Ubuntu 15.04.

  I partitioned my disk into root and data partitions.
  I then created ~/Data folder, and mount data partition on it.
  I then created symlinks for ~/Downloads, ~/Music, etc... to ~/Data/Downloads, ~/Data/Music, etc...

  Whenever I delete files directly inside ~/ they seem to go to the
  Trash (in ~/.local/share/Trash), but when I try to delete files in
  other folders that are linked to ~/Data (for example ~/Downloads, or
  ~/Data/Downloads) Nautilus says: "File can't be put in the trash. Do
  you want to delete it immediately?".

  I compile glib without patch at
  https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/1445622/comments/25,
  then it works well.

  report from https://bugs.launchpad.net/nautilus/+bug/1406376

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