[Bug 2134860] Re: File ownership changes when a file is mv'ed by root to a different file system

Gordon Lack 2134860 at bugs.launchpad.net
Fri Apr 10 09:17:12 UTC 2026


FYI: It is also the case that mv'ing between file-systems loses the
modification time for the file.

See:
     https://github.com/uutils/coreutils/issues/11738

** Bug watch added: github.com/uutils/coreutils/issues #11738
   https://github.com/uutils/coreutils/issues/11738

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to rust-coreutils in Ubuntu.
https://bugs.launchpad.net/bugs/2134860

Title:
   File ownership changes when a file is mv'ed by root to a different
  file system

Status in rust-coreutils:
  New
Status in rust-coreutils package in Ubuntu:
  Triaged

Bug description:
  I've reported this on the coreutils github site
  (https://github.com/uutils/coreutils/issues/9635), but it strikes me
  that his could cause problems for various scripts moving files around,
  so I'm reporting it here to.

  if root mvs an entry between file systems then the resulting object is
  owned by root, even if it was originally owned by a non-root account.

  This includes making the file setuid root if the original files was
  setuid to a different account.

To manage notifications about this bug go to:
https://bugs.launchpad.net/rust-coreutils/+bug/2134860/+subscriptions





More information about the foundations-bugs mailing list