rhdinah
May 31st, 2012, 05:20 PM
I'm exporting a directory on my server using CIFS. Typically this works; however, I've been running rsync on a set of directories and it complains about "file has vanished" ...
If I perform an ls -l on one of those directories I find the suspect file displayed in red thus:
Code: Select all
?????????? ? ? ? ? ? My File Name.mp3
I assumed that meant the directory entry was not pointing to a valid inode, but I was wrong.
Okay, got a clue on this and has to do with the CIFS export. Turns out that the file name contains a "grave o" [ò] so CIFS apparently hasn't a clue what to do with it and displays questions marks on an ls ... and nothing at all [no file enumeration] with nautilus ...
However ssh'ing into the server as root ... the file is actually there ... so how does this stuff work in the Catalan language or any other character in any number of foreign languages? My desire is to properly display any character within UTF-8's ability to represent it. BTW I'm using gvfs-mount to mount and unmount these CIFS shares on an as-desired basis.
Can it really be this tough? Do I actually need to export these directories with ntfs and manually mount these shares through fstab? That would create any number of issues with Windows users.
What's up please? Thanks! :)
If I perform an ls -l on one of those directories I find the suspect file displayed in red thus:
Code: Select all
?????????? ? ? ? ? ? My File Name.mp3
I assumed that meant the directory entry was not pointing to a valid inode, but I was wrong.
Okay, got a clue on this and has to do with the CIFS export. Turns out that the file name contains a "grave o" [ò] so CIFS apparently hasn't a clue what to do with it and displays questions marks on an ls ... and nothing at all [no file enumeration] with nautilus ...
However ssh'ing into the server as root ... the file is actually there ... so how does this stuff work in the Catalan language or any other character in any number of foreign languages? My desire is to properly display any character within UTF-8's ability to represent it. BTW I'm using gvfs-mount to mount and unmount these CIFS shares on an as-desired basis.
Can it really be this tough? Do I actually need to export these directories with ntfs and manually mount these shares through fstab? That would create any number of issues with Windows users.
What's up please? Thanks! :)