You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This code panics when "moving" (copying) a file to a different filesystem, and applying the extended attrs fails. This can happen for many reasons:
TOCTOU races (e.g. file was moved/deleted)
destination filesystem doesn't support xattrs
user doesn't have permissions to set xattrs
mv should not panic in those cases. Instead, it should probably output some form of warning message and continue moving the other files, or whatever GNU mv does.
https://github.com/uutils/coreutils/blob/main/src/uu/mv/src/mv.rs#L676-L677
This code panics when "moving" (copying) a file to a different filesystem, and applying the extended attrs fails. This can happen for many reasons:
mv
should not panic in those cases. Instead, it should probably output some form of warning message and continue moving the other files, or whatever GNUmv
does.Discovered while reviewing #6632 (comment)
The text was updated successfully, but these errors were encountered: