[MacPorts] #62538: Coreutils mv discards extended attributes when moving to a different volume

MacPorts noreply at macports.org
Wed Mar 24 06:22:43 UTC 2021


#62538: Coreutils mv discards extended attributes when moving to a different volume
----------------------------------+-----------------------
 Reporter:  DanielSmedegaardBuus  |      Owner:  (none)
     Type:  defect                |     Status:  new
 Priority:  Normal                |  Milestone:
Component:  ports                 |    Version:  2.6.4
 Keywords:  mv                    |       Port:  coreutils
----------------------------------+-----------------------
 Hello :)

 The `mv` version included with coreutils in MacPorts (also Homebrew, just
 for reference) discards extended attributes when moving a file from one
 volume to another (not intra-volume). This doesn't happen with the OS X
 bundled `mv`, or with coreutils on Ubuntu that I tested on, too.

 ```
 daniel at titanic > xattr -w test fisso LICENSE
 daniel at titanic > xattr -p test LICENSE
 fisso
 daniel at titanic > which mv
 mv: aliased to /bin/mv
 daniel at titanic > mv LICENSE /Volumes/Scratch
 daniel at titanic > xattr -p test /Volumes/Scratch/LICENSE
 fisso
 daniel at titanic > /opt/local/libexec/gnubin//mv /Volumes/Scratch/LICENSE .
 daniel at titanic > xattr -p test LICENSE
 xattr: LICENSE: No such xattr: test
 ```

-- 
Ticket URL: <https://trac.macports.org/ticket/62538>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list