Contents
Are there any special characters in samba filenames?
Windows does not allow some characters in filenames that Unix does allow. Samba “mangles” the filenames to make them comply with Windows restrictions. You can check the file /etc/smb.conf or /etc/samba/smb.conf to see what settings are in place.
Where are the mangled names in samba stored?
The mangled (“shortened”) names were also “unmangled”. Presuming that your Linux system has the smb.conf file stored at the standard location /etc/samba/: there are several different ways to edit the smb.conf file.
What’s the workaround for renaming a samba file?
The workaround is to move or create the file somewhere locally, and then move it to/back to the share. Then it lets me. But who wants to do that all the time?
How do I create a samba file structure?
1) I share the drives the way you normally would. 2) I use a samba server, and create part of a folder structure. 3) I fill in that folder structure, by using autofs to create and mount the shares into the appropriate place on that folder structure. Note that they are not mounted all the time, just when needed.
Why does My Samba client not show my shortened name?
Hence, because the Samba client just replicates to the user what the Samba server has provided to the client, once the server is properly configured the client will no longer show the user any shortened name. I use a shared folder on OS-X and Windows.
How can you put a question mark in a file?
In Windows, you can’t put a ? in a file or directory name, because they are reserved characters for PHP GET functions and wildcards. But in Ubuntu, I can. I can name a file lol?.txt and access it properly like any other file. How come you can do this safely in Ubuntu, when you can’t in Windows?
Is the Samba server running on my Linux laptop?
When I use my Linux laptop to access my OS X Samba shares, all strings are shown correctly: words like maçã, ônus and bênção are shown correctly. Files and folders with long names are also shown, and their names are shown correctly. Thus, the Samba server running on OS X is already properly configured…