Opened 4 years ago
Last modified 4 years ago
#62538 new defect
Coreutils mv discards extended attributes when moving to a different volume — at Initial Version
Reported by: | DanielSmedegaardBuus (Daniel Smedegaard Buus) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.4 |
Keywords: | Cc: | ||
Port: | coreutils |
Description
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@titanic > xattr -w test fisso LICENSE
daniel@titanic > xattr -p test LICENSE
fisso
daniel@titanic > which mv
mv: aliased to /bin/mv
daniel@titanic > mv LICENSE /Volumes/Scratch
daniel@titanic > xattr -p test /Volumes/Scratch/LICENSE
fisso
daniel@titanic > /opt/local/libexec/gnubinmv /Volumes/Scratch/LICENSE .
daniel@titanic > xattr -p test LICENSE
xattr: LICENSE: No such xattr: test
`
Note: See
TracTickets for help on using
tickets.