vmhgfs-fuse is mostly ignorant to upper and lower case filenames
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
open-vm-tools (Ubuntu) |
Confirmed
|
High
|
Unassigned |
Bug Description
Hi,
vmhgfs-fuse doesnt seem to care much for upper and lower case usage in filenames but represents the file just the way it likes.
to reproduce:
ls -l TEST test; touch test; ls -l test; ls -l TEST; touch TEST; ls -l TEST; rm TEST; ls -l TEST; sleep 6; ls -l test TEST
ls: cannot access 'TEST': No such file or directory
ls: cannot access 'test': No such file or directory
-rwxrwxrwx 1 root root 0 Mai 12 20:04 test
-rwxrwxrwx 1 root root 0 Mai 12 20:04 TEST
-rwxrwxrwx 1 root root 0 Mai 12 20:04 TEST
-rwxrwxrwx 1 root root 0 Mai 12 20:04 TEST
ls: cannot access 'test': No such file or directory
ls: cannot access 'TEST': No such file or directory
which is:
- make sure none of the two files exists
- create lowercase file
- prove that lowercase got created: good
- prove that uppercase is still not their: FAIL (its there magically)
- create uppercase file
- prove uppercase file got created: good (kind of, the file was already there)
- remove uppdercase file
- prove that uppercase file was removed: FAIL (its still there)
- wait for things to settle
- prove that lowercase file wasnt harmed: FAIL (lowercase file gone)
Please investigate (this was working fine with vmhgfs kernel module).
Thanks
Ulf
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: open-vm-
ProcVersionSign
Uname: Linux 4.4.0-22-generic x86_64
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
Date: Thu May 12 19:55:20 2016
InstallationDate: Installed on 2016-01-08 (125 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
SourcePackage: open-vm-tools
UpgradeStatus: Upgraded to xenial on 2016-05-12 (0 days ago)
Changed in open-vm-tools (Ubuntu): | |
importance: | Undecided → High |
may a more illustrative test is:
ls -l test TEST; touch test; ls -l test TEST; ls -l | grep -i test
ls: cannot access 'test': No such file or directory
ls: cannot access 'TEST': No such file or directory
-rwxrwxrwx 1 root root 0 Mai 12 20:19 test
-rwxrwxrwx 1 root root 0 Mai 12 20:19 TEST
-rwxrwxrwx 1 root root 0 Mai 12 20:19 test
rm test
ls -l test TEST; touch TEST; ls -l test TEST; ls -l | grep -i test
ls: cannot access 'test': No such file or directory
ls: cannot access 'TEST': No such file or directory
-rwxrwxrwx 1 root root 0 Mai 12 20:19 test
-rwxrwxrwx 1 root root 0 Mai 12 20:19 TEST
-rwxrwxrwx 1 root root 0 Mai 12 20:19 TEST
so the file gets created with the right upper and lowercase-ing but it can be accessed and deleted either way (lower or upper case)