Skip to content

UTF-8 NFD file name on SMB storage cannot be accessed #21365

@PVince81

Description

@PVince81

Steps

  1. Setup a SMB server on Linux
  2. Configure a share "shared"
  3. Directly inside the share's folder on disk (not going through the network), create a file "good-ümlaut.txt"
  4. Create another file "bad-ümlaut.txt"
  5. Convert the file name encoding to NFD: convmv -r -f utf8 -t utf8 --nfd --notest bad-ümlaut.txt (ref: http://laufer.tumblr.com/post/1066670961/solved-weird-problem-with-special-characters-in).
  6. Setup an external storage in OC and mount that share as "/smb"
  7. Navigate into the share in the web UI

Expected result

File appears in list

Actual result

File not visible

{"reqId":"KAz39vteBSxGCMxr1TEG","remoteAddr":"127.0.0.1","app":"OC\\Files\\Cache\\Scanner","message":"!!! Path 'encoding\/bad-u\u0308mlaut.txt' is not accessible or present !!!","level":0,"time":"2015-12-24T09:58:29+00:00","method":"GET","url":"\/owncloud\/index.php\/apps\/files\/ajax\/list.php?dir=%2Fsmb%2Fencoding&sort=name&sortdirection=asc"}

Versions

Observed in OC 8.2.2

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions