3
1
I mounted a few drives from Linux boxes in my network, but those mounts aren't case-sensitive.
The mount command I used ( from the man mount.cifs, case-sensitive should be the default ):
mount //10.0.1.10/remote_folder /local_folder -t cifs -o username=xxxx,password=xxxx
but those mounts aren't sensitive. for example doing:
ls -l /local_folder/testfile.txt
ls -l /local_folder/TESTFILE.TXT
give's the same result... instead of 'file not found'
Couple of important points:
- All drives are running on Linux machines.
- My local machine is running Fedora 18 and it is case-sensitive for ANY folder/file expect the mounted drives.
- All drive/mounts are case-sensitive when when doing SSH. So if I SSH from my local machine to a remote machine, doing
ls -l /local_folder/TESTFILE.TXT
will sayfile not found
as it should.
So I believe the issue is in my local machine and not in the way I did the mount. but I'm not sure where to look next (I'm new to Linux)
1I'm pretty sure this is due to the underlying CIFS volume not being case-sensitive. Put another way, the server with the filesystem (10.0.1.10) probably doesn't support case sensitivity. The filesystem isn't case sensitive (though it is case-preserving). – ernie – 2013-11-25T18:46:51.417
@ernie That was my first though too but then wouldn't it also be case insensitive when connected by ssh? – terdon – 2013-11-25T23:04:35.423
Are there any settings in smb.conf on the 10.0.1.10 server that restrict case sensitivity?
– rickhg12hs – 2013-11-26T21:42:30.4071Though it does seem weird to be using SMB/CIFS shares on an all Linux network . . . – ernie – 2013-11-26T22:00:53.497
Mounting as NFS fixed the case-sensitive issue. I couldn't figure out why cifs would not work. – Asi – 2014-03-26T03:44:20.373