Non-Latin Letters in Filenames Appear As Question Marks

Bug #164508 reported by DenisM
10
Affects Status Importance Assigned to Milestone
LTSP5
Fix Released
Undecided
Scott Balneaves
ltspfs (Ubuntu)
Fix Released
Undecided
Oliver Grawert
ltspfsd (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Edubuntu 7.10, LTSP thin client
When mounting USB stick containing files with names in Russian, cyrillic letters appear as '???'.
To solve this I modified /opt/ltsp/i386/lib/udev/add_fstab_entry as follows:
in line
echo "/dev/${DEVICENAME} ${MOUNTPOINT} ${FSTYPE} defaults 0 0" >> ${FSTAB}

changed 'defaults' to 'iocharset=utf8'.

Revision history for this message
DenisM (b48) wrote :

1. 'utf8' instead of 'iocharset=utf8' works too.

2. The solution above doesn't work for CDs, when inserting one in client's drive a line appears in /var/run/ltspfs_fstab with 'defaults' instead of 'utf8'.

Revision history for this message
Oliver Grawert (ogra) wrote :

thats very likely coming from the cdpinger program on the client. CDs dont have a kernel event for loading unloading media, so we cant monitor it from udev properly. it nedds an external program (gnome uses gnome-volume-manager for that for example). have a look at the manage_fstab() function in /opt/ltsp/i386/usr/sbin/cdpinger

theanks for this report btw, we'll add your fix to teh next upload in hardy ...

Revision history for this message
Oliver Grawert (ogra) wrote :

ltspfsd only exists in breezy and dapper (was merged into ltspfs later), closing this task and assigning to ltspfs

Changed in ltspfsd:
status: New → Invalid
Changed in ltspfs:
assignee: nobody → ogra
status: New → Confirmed
Revision history for this message
Oliver Grawert (ogra) wrote :

assigning upstream task to sbalneav for monitoring

Changed in ltsp:
assignee: nobody → sbalneav
status: New → In Progress
Revision history for this message
DenisM (b48) wrote :

> have a look at the manage_fstab() function in /opt/ltsp/i386/usr/sbin/cdpinger

Yes! It works now. Thank you.

defaults -> utf8

Revision history for this message
pepre (me-pepre) wrote :

Confirmed in Hardy 8.04.
Workaround works too.

Revision history for this message
Alkis Georgopoulos (alkisg) wrote :

Confirming both the bug and the workaround for Intrepid 8.10.

Revision history for this message
Alkis Georgopoulos (alkisg) wrote :
Revision history for this message
Stéphane Graber (stgraber) wrote :

According to Alkis' comment it's now fixed in upstream ltspfs, closing all tasks as fix released.

Changed in ltspfs (Ubuntu):
status: Confirmed → Fix Released
Changed in ltsp:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.