Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jun 2016 15:06:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 210256] mv may delete files on case-preserving but case-insensitive filesystems
Message-ID:  <bug-210256-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210256

            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: freebsd-bugs@FreeBSD.org
          Reporter: alexander.klein@physiologie.med.uni-giessen.de

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 f=
ew
letters is changed; see the example below for what happens on a SAMBA-share.

% touch abc=20=20=20=20

% 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

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-210256-8>