Cannot read some windows 10 ntfs files

Bug #1789669 reported by Paulo da Silva
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ntfs-3g (Ubuntu)
New
Undecided
Unassigned

Bug Description

OS: Kubuntu 18.04.1 LTS.
# apt-cache policy ntfs-3g
ntfs-3g:
  Instalado: 1:2017.3.23-2
  Candidato: 1:2017.3.23-2
  Tabela de Versão:
 *** 1:2017.3.23-2 500
        500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages
        100 /var/lib/dpkg/status

I am getting an error reading a file from a NTFS filesystem (I/O error - errno=5).

Example:
 fstab entry:
   UUID=xxxxxx /c ntfs noatime,noauto,defaults,umask=007,gid=46 0 0

mount /c # OK
cat '/c/Windows/WinSxS/amd64_microsoft-windows-l..b-onecore.resources_31bf3856ad364e35_10.0.17134.1_en-us_b32d47db06f00012/winlangdb.dll.mui'>/dev/null
Erro de Entrada/Saída de dados (into english: Input/Output error).

Using a small program I could see that returned errno=5.

What I have tried:

1.
This error does NOT occur with ntfs-3g 2.22 from an opensuse 15.0 installation!

2.
Manually installed ntfs-3g 2.22 from past ubuntu .deb files (ntfs-3d + lib).
The error still occurs.

3.
Manually installed ntfs-3g 2.22 building from .tgz file (./configure,make,make install).
The error still occurs.

NOTE: Steps 2 and 3 were done after purging ntfs-3g and libntfs-3g88.

Revision history for this message
Jean-Pierre (jean-pierre-andre) wrote :

> /c/Windows/WinSxS/amd64_microsoft-windows-l..b-onecore....

This file is probably compressed using the format introduced by Microsoft ca 2016 for Windows system files.

Doing "ls -l /c/Windows/WinSxS/amd64_microsoft-windows-l..b-onecore...." (with the full file name) will probably return "unsupported reparse point" when using ntfs-3g-2017.3.23. An older version would be unaware of the format and just show a file filled with zeroes.

To read the file with ntfs-3g-2017.3.23, you need a plugin. This is not possible with earlier versions.

For the source code of the plugin see :
https://github.com/ebiggers/ntfs-3g-system-compression
There are binary versions (not up to date) available on :
http://jp-andre.pagesperso-orange.fr/advanced-ntfs-3g.html#download
More explanations on :
http://jp-andre.pagesperso-orange.fr/junctions.html#symlinks

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.