Skip to contentSkip to conversation

New: Bind mount doesn't allow to trash files and directories

Bug 70831 [email protected] 1 participant 3 messages Feb 19, 2014

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=70831

            Bug ID: 70831
           Summary: Bind mount doesn't allow to trash files and
                    directories
           Product: File System
           Version: 2.5
    Kernel Version: Debian 3.11.8-1
          Hardware: x86-64
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: high
          Priority: P1
         Component: ext4
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Hello.

I've asked a question here
(https://unix.stackexchange.com/questions/115757/bind-mount-unable-to-delete-files-to-trash)
about strange situation with deleting files from bind-mounted directories. Someone Ricky Beam supposed this is a kernel issue.

This is a quote of his words:
[QUOTE]
This is a linux kernel issue. It's not looking at the true super-block of the source and destination filesystems:

17926 rename("d1/foo", "d2/foo") = -1 EXDEV (Invalid cross-device link)
Looks like the issue is in do_rename() (fs/namei.c):

    error = -EXDEV;
    if (oldnd.mnt != newnd.mnt)
            goto exit2;

*sigh*
[/QUOTE]

Could you please take a look at this issue and confirm or disprove this is a kernel issue?
Thank you very much!

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.
#2 lore raw

[Bug 70831] Bind mount doesn't allow to trash files and directories

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=70831

Alan <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

                 CC|                            |[email protected]
          Component|ext4                        |VFS
           Assignee|[email protected] |[email protected]
                   |g                           |
Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.