access windows shared files from linux (case insensitive)Installing windows from Linux mintAccess Windows File System From Linux OSHow to access windows file server from linuxAccess a subversion repository on a Windows share from LinuxHow can I access the Windows registry from Linux?Access denied SSH from windows to linux via puttyLinux blocks file access from Windows (shared NTFS drive)How to associate file types on Linux host with Windows applications through VirtualBox?Access CentOS server Files From Windows GUI?How to access Windows files from Centos 7 Virtual Box?
You've spoiled/damaged the card
Is there any rule preventing me from starting multiple bardic performances in a single round?
Why don't B747s start takeoffs with full throttle?
Align text within align
Personalization conditions switching doesn`t work in Experience Editor (9.1.0, Initial Release)
Why does a helium balloon rise?
X-shaped crossword
Applicants clearly not having the skills they advertise
Is it legal in the UK for politicians to lie to the public for political gain?
What is the history of the check mark / tick mark?
Chopin: marche funèbre bar 15 impossible place
How to connect an offset point symbol to its original position in QGIS?
Humans meet a distant alien species. How do they standardize? - Units of Measure
PhD student with mental health issues and bad performance
Will TSA allow me to carry a Continuous Positive Airway Pressure (CPAP) device?
Secure offsite backup, even in the case of hacker root access
Regarding eBGP Multipath
Why is Colorado so different politically from nearby states?
Is it a problem that pull requests are approved without any comments
How certain is a caster of when their spell will end?
Explain Ant-Man's "not it" scene from Avengers: Endgame
Is there any word or phrase for negative bearing?
Credit card offering 0.5 miles for every cent rounded up. Too good to be true?
If Boris Johnson were prosecuted and convicted of lying about Brexit, can that be used to cancel Brexit?
access windows shared files from linux (case insensitive)
Installing windows from Linux mintAccess Windows File System From Linux OSHow to access windows file server from linuxAccess a subversion repository on a Windows share from LinuxHow can I access the Windows registry from Linux?Access denied SSH from windows to linux via puttyLinux blocks file access from Windows (shared NTFS drive)How to associate file types on Linux host with Windows applications through VirtualBox?Access CentOS server Files From Windows GUI?How to access Windows files from Centos 7 Virtual Box?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I have a python application (deployed on centos) which searches for files in a shared path on (windows)
the windows paths named like below (upper and lower case) \sharedPDFsMyFolderSomeFile.txt
yet, the user input is in lower case \sharedpdfsmyfoldersomefile.txt
so when I try to search that on centos, I get file doesn't exist, is there away to make centos files accessible in insensitive way ?
linux windows
New contributor
add a comment |
I have a python application (deployed on centos) which searches for files in a shared path on (windows)
the windows paths named like below (upper and lower case) \sharedPDFsMyFolderSomeFile.txt
yet, the user input is in lower case \sharedpdfsmyfoldersomefile.txt
so when I try to search that on centos, I get file doesn't exist, is there away to make centos files accessible in insensitive way ?
linux windows
New contributor
add a comment |
I have a python application (deployed on centos) which searches for files in a shared path on (windows)
the windows paths named like below (upper and lower case) \sharedPDFsMyFolderSomeFile.txt
yet, the user input is in lower case \sharedpdfsmyfoldersomefile.txt
so when I try to search that on centos, I get file doesn't exist, is there away to make centos files accessible in insensitive way ?
linux windows
New contributor
I have a python application (deployed on centos) which searches for files in a shared path on (windows)
the windows paths named like below (upper and lower case) \sharedPDFsMyFolderSomeFile.txt
yet, the user input is in lower case \sharedpdfsmyfoldersomefile.txt
so when I try to search that on centos, I get file doesn't exist, is there away to make centos files accessible in insensitive way ?
linux windows
linux windows
New contributor
New contributor
New contributor
asked May 26 at 9:06
fady taherfady taher
1283
1283
New contributor
New contributor
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
If you've mounted the remote SMB/CIFS filesystem you can use the nocase
mount option. For example, in your /etc/fstab
, do:
\192.168.1.247sharename /mnt/location cifs auto,credentials=/root/credentials_file,vers=2.0,nocase 0 0
Note the nocase
option at the end.
Look what happens if you use the nocase
option:
/mnt/location» ls -la
drwxr-xr-x. 2 apache apache 0 Apr 4 2018 __skel
/mnt/location» cd __SKEL # note uppercase, while the dir itself is lowercase
/mnt/location/__SKEL» # hey that worked
You may check the man page for more mount options: https://linux.die.net/man/8/mount.cifs
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
fady taher is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f521125%2faccess-windows-shared-files-from-linux-case-insensitive%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
If you've mounted the remote SMB/CIFS filesystem you can use the nocase
mount option. For example, in your /etc/fstab
, do:
\192.168.1.247sharename /mnt/location cifs auto,credentials=/root/credentials_file,vers=2.0,nocase 0 0
Note the nocase
option at the end.
Look what happens if you use the nocase
option:
/mnt/location» ls -la
drwxr-xr-x. 2 apache apache 0 Apr 4 2018 __skel
/mnt/location» cd __SKEL # note uppercase, while the dir itself is lowercase
/mnt/location/__SKEL» # hey that worked
You may check the man page for more mount options: https://linux.die.net/man/8/mount.cifs
add a comment |
If you've mounted the remote SMB/CIFS filesystem you can use the nocase
mount option. For example, in your /etc/fstab
, do:
\192.168.1.247sharename /mnt/location cifs auto,credentials=/root/credentials_file,vers=2.0,nocase 0 0
Note the nocase
option at the end.
Look what happens if you use the nocase
option:
/mnt/location» ls -la
drwxr-xr-x. 2 apache apache 0 Apr 4 2018 __skel
/mnt/location» cd __SKEL # note uppercase, while the dir itself is lowercase
/mnt/location/__SKEL» # hey that worked
You may check the man page for more mount options: https://linux.die.net/man/8/mount.cifs
add a comment |
If you've mounted the remote SMB/CIFS filesystem you can use the nocase
mount option. For example, in your /etc/fstab
, do:
\192.168.1.247sharename /mnt/location cifs auto,credentials=/root/credentials_file,vers=2.0,nocase 0 0
Note the nocase
option at the end.
Look what happens if you use the nocase
option:
/mnt/location» ls -la
drwxr-xr-x. 2 apache apache 0 Apr 4 2018 __skel
/mnt/location» cd __SKEL # note uppercase, while the dir itself is lowercase
/mnt/location/__SKEL» # hey that worked
You may check the man page for more mount options: https://linux.die.net/man/8/mount.cifs
If you've mounted the remote SMB/CIFS filesystem you can use the nocase
mount option. For example, in your /etc/fstab
, do:
\192.168.1.247sharename /mnt/location cifs auto,credentials=/root/credentials_file,vers=2.0,nocase 0 0
Note the nocase
option at the end.
Look what happens if you use the nocase
option:
/mnt/location» ls -la
drwxr-xr-x. 2 apache apache 0 Apr 4 2018 __skel
/mnt/location» cd __SKEL # note uppercase, while the dir itself is lowercase
/mnt/location/__SKEL» # hey that worked
You may check the man page for more mount options: https://linux.die.net/man/8/mount.cifs
edited May 26 at 9:27
answered May 26 at 9:21
EdwardEdward
46838
46838
add a comment |
add a comment |
fady taher is a new contributor. Be nice, and check out our Code of Conduct.
fady taher is a new contributor. Be nice, and check out our Code of Conduct.
fady taher is a new contributor. Be nice, and check out our Code of Conduct.
fady taher is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f521125%2faccess-windows-shared-files-from-linux-case-insensitive%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown