group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #10460
[Bug 1638245] Re: Files in the root of a folder on another partition symlinked to user's home cannot be moved to trash because of a patch in this package
This bug was fixed in the package glib2.0 - 2.50.2-2ubuntu1
---------------
glib2.0 (2.50.2-2ubuntu1) yakkety; urgency=medium
* No-change backport of this stable release from unstable to 16.04 (LP:
#1644320)
* Should fix trashing of files in symlinked directories (LP: #1638245)
* Should fix display of trash on external drives (LP: #1633824)
glib2.0 (2.50.2-2) unstable; urgency=medium
* debian/rules: disable libmount on !linux (Closes: #844052)
* debian/patches/0001-Fix-trashing-on-overlayfs.patch: Update with new
version from the upsstream report to hopefully fix trashing of files in
directories which are symlinks to different devices. (Closes: #800047)
glib2.0 (2.50.2-1) unstable; urgency=medium
* New upstream release.
* Track stable releases in debian/watch.
glib2.0 (2.50.1-1) unstable; urgency=medium
[ Jason Crain ]
* libglib2.0-bin: includes a new 'gio' commandline tool (Closes: #840164)
[ Andreas Henriksson ]
* New upstream release.
glib2.0 (2.50.0-2) unstable; urgency=medium
[ Simon McVittie ]
* Build-depend on tzdata, which is no longer transitively Essential.
One test needs it. (Closes: #839487)
[ Michael Biebl ]
* Fix Vcs-* to point to unstable.
* Mark dependencies which are required to run the test-suite with
<!nocheck>.
* Add explicit Build-Depends on xsltproc, docbook-xml and docbook-xsl.
Besides libxml2-utils, those are needed for building the man pages.
* Drop Build-Depends on dbus-x11. The test-suite uses a mock version of
dbus-launch nowadays, so this dependency is no longer needed.
(Closes: #835884)
* Use dh-exec to substitute ${DEB_HOST_MULTIARCH} in .install, .links and
.dirs files.
-- Iain Lane <laney@xxxxxxxxxx> Wed, 23 Nov 2016 17:44:33 +0000
** Changed in: glib2.0 (Ubuntu Yakkety)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1638245
Title:
Files in the root of a folder on another partition symlinked to user's
home cannot be moved to trash because of a patch in this package
Status in glib2.0 package in Ubuntu:
Fix Released
Status in glib2.0 source package in Xenial:
Fix Committed
Status in glib2.0 source package in Yakkety:
Fix Released
Bug description:
[ Description ]
Can't trash files if the directory they are in is a symlink to another
device
[ QA ]
Steps:
1. Install system and partition disk into root and data partitions
2. create ~/Data folder, and mount data partition on it
3. create symlinks for ~/whatever/ to ~/Data/something/
4. delete files directly inside ~/whatever/
What happen:
Then Nautilus says: "File can't be put in the trash. Do you want to delete it immediately?".
What should happen:
The files moved into Trash.
[ Regression potential ]
The proposed fix uses g_stat instead of g_stat to follow symlinks, so
we know where to place the trash (you can't rename() across
filesystems). If that is wrong, then it could regress trashing other
kinds of files.
[ Original ]
I'm on Ubuntu 16.10 64-bit with libglib2.0-0 version 2.50.0-1.
I've reported this bug (or marked as "it affects me") in a couple of
other places before I've finally discovered that this is the package
that's causing this problem, which unfortunately has been around for a
couple of years now.
This bug has been reported upstream as well, but it's just taking very
very long to arrive at a decision and take action it seems.
Apparently one of the patches
(https://sources.debian.net/patches/glib2.0/2.50.1-1/0001-Fix-
trashing-on-overlayfs.patch/) which is here
(https://launchpad.net/ubuntu/+archive/primary/+files/glib2.0_2.50.0-1.debian.tar.xz)
to the original package which is here
(https://launchpad.net/ubuntu/+archive/primary/+files/glib2.0_2.50.0.orig.tar.xz)
is the root cause of this annoying problem.
As I prefer keeping one patition for the root filesystem (/), one
partition for user settings (/home) and one partition for user data
(Documents, Downloads, Drive, Music, Pictures, Public, Videos) which
are simply symlinked to my home folder for ease of use, I cannot move
any file to the trash in the root of these folders when I access them
from my home folder or nautilus sidebar.
This problem doesn't affect folders at all, nor any other files in
subfolders, etc.
So I was wondering if Ubuntu devs can leave out that particular patch
when building this package for Ubuntu - if it doesn't cause more harm,
which I doubt.
Otherwise, I would appreciate if I could learn how to do it myself:
how can I (as an end-user) compile the contents of
"glib2.0_2.50.0.orig.tar.xz" with all the patches, etc. in
"glib2.0_2.50.0-1.debian.tar.xz" except "0001-Fix-trashing-on-
overlayfs.patch"?
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glib2.0/+bug/1638245/+subscriptions