apport information

** Attachment added: "CurrentDmesg.txt"
   
https://bugs.launchpad.net/bugs/2117110/+attachment/5892068/+files/CurrentDmesg.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2117110

Title:
  Inconsistency from NTFS3 kernel driver when handling mount option
  nohidden

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  $ lsb_release -rd
  No LSB modules are available.
  Description:  Ubuntu 24.04.2 LTS
  Release:      24.04

  The package is not really known, but NTFS3 seems to belong to the Linux 
kernel.
  $ cat /proc/version_signature
  Ubuntu 6.8.0-63.66-generic 6.8.12

  What is expected:
  1. command stat should show information about the hidden state.
  2. command find should find such "hidden" files.
  3. command ls should have a switch to list such "hidden" files.

  Discussion base is the following user directory on a Windows NTFS partition:
  C:\Users>Attrib Praxis\* /D
       R C:\Users\Praxis\3D Objects
                       C:\Users\Praxis\Anwendungsdaten
      H C:\Users\Praxis\AppData
       R C:\Users\Praxis\Contacts
     SH I C:\Users\Praxis\Cookies
       R C:\Users\Praxis\Desktop
       R C:\Users\Praxis\Documents
       R C:\Users\Praxis\Downloads
          I C:\Users\Praxis\Druckumgebung
       R C:\Users\Praxis\Eigene Dateien
       R C:\Users\Praxis\Favorites
       R C:\Users\Praxis\Links
                       C:\Users\Praxis\Lokale Einstellungen
       R C:\Users\Praxis\Music
          I C:\Users\Praxis\Netzwerkumgebung
  A H I C:\Users\Praxis\NTUSER.DAT
  A SH C:\Users\Praxis\ntuser.dat.LOG1
  A SH C:\Users\Praxis\ntuser.dat.LOG2
  A SH C:\Users\Praxis\NTUSER.DAT{53b39e88-18c4-11ea-a811-000d3aa4692b}.TM.blf
  A SH 
C:\Users\Praxis\NTUSER.DAT{53b39e88-18c4-11ea-a811-000d3aa4692b}.TMContainer00000000000000000001.regtrans-ms
  A SH 
C:\Users\Praxis\NTUSER.DAT{53b39e88-18c4-11ea-a811-000d3aa4692b}.TMContainer00000000000000000002.regtrans-ms
     SH C:\Users\Praxis\ntuser.ini
       R C:\Users\Praxis\OneDrive
       R C:\Users\Praxis\Pictures
       R C:\Users\Praxis\Recent
                       C:\Users\Praxis\Roaming
       R C:\Users\Praxis\Saved Games
       R C:\Users\Praxis\Searches
       R I C:\Users\Praxis\SendTo
       R C:\Users\Praxis\Startmenü
       R C:\Users\Praxis\Videos
          I C:\Users\Praxis\Vorlagen

  The folder C:\Users\Praxis\AppData is flagged with the HIDDEN attribute.
  When mounting among other options with the nohidden option we see:
  $ findmnt --type ntfs3
  TARGET SOURCE FSTYPE OPTIONS
  /mnt/Daten /dev/sda7 ntfs3 
rw,relatime,uid=1000,gid=1000,dmask=0002,fmask=0113,discard,nohidden,hide_dot_files,windows_names,iocharset=utf8

  And ls -al does not list folder C:\Users\Praxis\AppData
  $ ls -al /mnt/Daten/Users/Praxis/
  insgesamt 16
  drwxrwxr-x 1 praxis praxis 8192 Jul 13 15:51 .
  drwxrwxr-x 1 praxis praxis 0 Jul 9 21:37 ..
  dr-xr-xr-x 1 praxis praxis 0 Jul 9 00:39 '3D Objects'
  dr-xr-xr-x 1 praxis praxis 0 Jul 9 00:39 Contacts
  dr-xr-xr-x 1 praxis praxis 0 Jul 9 00:39 Desktop
  dr-xr-xr-x 1 praxis praxis 4096 Jul 9 00:39 Documents
  dr-xr-xr-x 1 praxis praxis 0 Jul 9 00:39 Downloads
  dr-xr-xr-x 1 praxis praxis 0 Jul 9 00:39 Favorites
  dr-xr-xr-x 1 praxis praxis 0 Jul 9 00:39 Links
  dr-xr-xr-x 1 praxis praxis 0 Jul 9 00:39 Music
  dr-xr-xr-x 1 praxis praxis 0 Jul 9 00:41 OneDrive
  dr-xr-xr-x 1 praxis praxis 0 Jul 9 00:40 Pictures
  drwxrwxr-x 1 praxis praxis 0 Mär 5 13:42 Roaming
  dr-xr-xr-x 1 praxis praxis 0 Jul 9 00:39 'Saved Games'
  dr-xr-xr-x 1 praxis praxis 4096 Jul 9 00:40 Searches
  dr-xr-xr-x 1 praxis praxis 0 Jul 13 19:25 Videos

  But stat knows about this folder:
  $ stat /mnt/Daten/Users/Praxis/AppData
    Datei: /mnt/Daten/Users/Praxis/AppData
   Größe: 0             Blöcke: 0          EA Block: 4096   Verzeichnis
  Gerät: 8/7    Inode: 59          Verknüpfungen: 1
  Zugriff: (0775/drwxrwxr-x)  Uid: ( 1000/  praxis)   Gid: ( 1000/  praxis)
  Zugriff: 2025-07-14 14:06:47.831252300 +0200
  Modifiziert: 2025-07-09 00:39:08.959242000 +0200
  Geändert: 2025-07-09 00:39:08.959242000 +0200
  Geburt: 2025-07-09 00:39:08.490528800 +0200

  But it does not show, that this file has a whatever property which makes it 
hidden for normal access.
  In other words, there is no way to test, if a file is marked hidden or not 
and no such property is known in POSIX terminology, but in fact it is not 
listed by ls -al.

  Surprisingly with the -d switch ls reports about this file:
  $ ls -ald /mnt/Daten/Users/Praxis/AppData
  drwxrwxr-x 1 praxis praxis 0 Jul  9 00:39 /mnt/Daten/Users/Praxis/AppData

  On the other hand, it is not findable:
  $ find /mnt/Daten/Users/Praxis/ -name AppData
  $

  This is very confusing, that there is no terminology which describes this 
special difference to normal files, and the handling looks inconsistent.
  --- 
  ProblemType: Bug
  ApportVersion: 2.28.1-0ubuntu3.8
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC1:  praxis     1469 F.... pulseaudio
   /dev/snd/controlC0:  praxis     1469 F.... pulseaudio
  CRDA: N/A
  CasperMD5CheckResult: unknown
  CurrentDesktop: Unity:Unity7:ubuntu
  DistroRelease: Ubuntu 24.04
  InstallationDate: Installed on 2025-07-08 (13 days ago)
  InstallationMedia: Ubuntu-Unity 24.04.2 LTS "Noble Numbat" - Release amd64 
(20250215)
  MachineType: LENOVO 20BE00B1GE
  Package: linux (not installed)
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.14.0-24-generic 
root=UUID=472cb8a3-1524-4ae9-858a-043812227ced ro quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 6.14.0-24.24~24.04.3-generic 6.14.6
  RelatedPackageVersions:
   linux-restricted-modules-6.14.0-24-generic N/A
   linux-backports-modules-6.14.0-24-generic  N/A
   linux-firmware                             20240318.git3b128b60-0ubuntu2.14
  Tags: noble
  Uname: Linux 6.14.0-24-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
  _MarkForUpload: True
  dmi.bios.date: 06/03/2021
  dmi.bios.release: 2.39
  dmi.bios.vendor: LENOVO
  dmi.bios.version: GMET91WW (2.39 )
  dmi.board.asset.tag: Not Available
  dmi.board.name: 20BE00B1GE
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0E50510 WIN
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Not Available
  dmi.ec.firmware.release: 1.15
  dmi.modalias: 
dmi:bvnLENOVO:bvrGMET91WW(2.39):bd06/03/2021:br2.39:efr1.15:svnLENOVO:pn20BE00B1GE:pvrThinkPadT540p:rvnLENOVO:rn20BE00B1GE:rvrSDK0E50510WIN:cvnLENOVO:ct10:cvrNotAvailable:skuLENOVO_MT_20BE:
  dmi.product.family: ThinkPad T540p
  dmi.product.name: 20BE00B1GE
  dmi.product.sku: LENOVO_MT_20BE
  dmi.product.version: ThinkPad T540p
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2117110/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to