Making it possible to rename File to file under Samba

Had a slight issue with samba.

It didn’t see an upper case name as different from a lower case, i.e. it didn’t let me rename file to File (directly, I could rename it to ile first and then to File). Adding the following line in smb.conf (and restarting Samba) allowed me to do this.

case sensitive = yes

(The manual says, controls whether file names are case sensitive. If they aren’t then Samba must do a file name search and match on passed names. Default no)

A waring for the Windows users though with this setting Samba works as the underlying *nix filesystem – so it is possible to have both file and File in on directory.