You are not logged in.

#1 2015-11-07 18:26:15

jamdox
Member
Registered: 2015-05-02
Posts: 48

problems with files and directories that contain symbols in name

I've noticed problems with files and directories that contain asian/foreign characters and other symbols in the name.  Symptoms are:

-media server (subsonic) won't display names properly (prints "question mark in diamond" character) or play the files
-NFS won't read the file size or the file itself
-if I ssh in as a normal user I can access the files

Things I've tried:

-various changes to owners and permissions
-updating and rebooting the system
-installing asian and other fonts
-running convmv on the directory, trying to convert from shiftJIS to UTF8.  Convmv reported all directories were already UTF8.

Once again, these problems only affect files with foreign characters, including simple things like umlauts.  Interestingly, subsonic can read non-foreign-named files inside a foreign-named directory, while NFS can't.  Also, some foreign filenames aren't a problem.

Any help appreciated.

Update:  I ran through all the possibilities for convert-from to utf8 in convmv and nothing worked right.  I'm pretty much at a loss.

Last edited by jamdox (2015-11-07 22:40:46)

Offline

#2 2015-11-08 01:41:59

techwiz
Member
Registered: 2012-01-26
Posts: 48

Re: problems with files and directories that contain symbols in name

Sounds like your programs cannot support extended ascii characters in path, Plex has similar issues. Renaming the files would be the simple solution, but anything else would have to be a bug report to the software devs.

Offline

#3 2015-11-08 16:05:34

jamdox
Member
Registered: 2015-05-02
Posts: 48

Re: problems with files and directories that contain symbols in name

Honestly I still don't know what the problem was.  I did however come up with a work-around:

  • backup directory

  • since I could easily see which directories couldn't be read while connected via NFS (since my file browser wouldn't calculate their size), I used this to delete all the directories that were NOT problematic

  • since I could not copy the problematic directories via NFS, I ssh'd into the server and mounted my desktop on the server using SSHFS and copied the problematic directories to the desktop

  • I then restored the music directory from the backup and copied (overwrote) the problematic directories from my desktop to the music directory via NFS

  • ???

  • profit!

Like I said, still don't know what the problem was.  But it is fixed, fortunately.

Offline

#4 2015-11-13 08:09:15

jamdox
Member
Registered: 2015-05-02
Posts: 48

Re: problems with files and directories that contain symbols in name

Update:

I copied the files to the backup music directory instead of the normal one.  When I copied them to that drive, the result had the same problem.  So this seems to be some corruption of something caused by copying these directories from one drive to another.  I used cp -a while logged in as a normal user, so I'm curious what the issue could be.

Offline

Board footer

Powered by FluxBB