https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210256

            Bug ID: 210256
           Summary: mv may delete files on case-preserving but
                    case-insensitive filesystems
           Product: Base System
           Version: 10.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: [email protected]
          Reporter: [email protected]

When renaming files on a filesystem that's both, case-preserving and
case-insensitive, the file may in fact be deleted when only the case of a few
letters is changed; see the example below for what happens on a SAMBA-share.

% touch abc    

% ls -l abc Abc
-rw-rw-rw-  1 nobody  nobody  0 13 Jun 17:04 Abc
-rw-rw-rw-  1 nobody  nobody  0 13 Jun 17:04 abc

% mv abc Abc

mv: rename abc to Abc: No such file or directory

% ls -l abc Abc
ls: Abc: No such file or directory
ls: abc: No such file or directory

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to