Announcement

Collapse
No announcement yet.

UDisks showexec issue

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    UDisks showexec issue

    For the last 2 or 3 days, since a dist-upgrade, I get these notifications in the morning:

    UDisks showexec issue

    Applications cannot run from
    /media/root/3AAD-EB34.
    See
    https://github.com/storaged-project/udisks/issues/707

    UDisks showexec issue

    Applications cannot run from
    /media/root/527A-5207.
    See
    https://github.com/storaged-project/udisks/issues/707​
    The link is titled " FAT disks should not be mounted with showexec ". But I can find no forgotten USB keys and the only FAT I use is FAT32.

    What gives? I can't delete showexec, as they suggest, because

    $ dpkg -l showexec
    dpkg-query: no packages found matching showexec

    Last edited by joneall; Jun 23, 2024, 11:58 PM.
    'I must have a prodigious quantity of mind; it takes me as much as a week sometimes to make it up.' Mark Twain

    #2
    showexec is a mount option, see the man page for the mount command, or run man mount in a konsole.

    My understanding is that having executable files on a USB stick is very insecure, so running stuff from filesystems in the FAT family has long been disabled. The showexec option only makes sense if execute permission is possible.

    The error implies that your system is trying to mount something with the showexec option. I am baffled that this would be so. Does it appear in the file /etc/fstab? Or is there something in system settings, removable storage, removable devices? That latter accumulates entries for old devices, and it doesn't hurt to clear them out using the "Forget Device" button.
    Regards, John Little

    Comment


      #3
      My /etc/fstab is clean, no FAT disks and only those which are indeed properly mounted. However, df gives this

      $ df
      Filesystem 1K-blocks Used Available Use% Mounted on
      tmpfs 801500 3500 798000 1% /run
      /dev/sda2 71670904 41997932 25986572 62% /
      tmpfs 4007484 1376 4006108 1% /dev/shm
      tmpfs 5120 4 5116 1% /run/lock
      /dev/sda4 206233028 130427004 65303880 67% /home/jon/jon-files
      /dev/sda1 245996 12616 233381 6% /boot/efi
      /dev/sdc4 361044028 228188968 114488596 67% /home/jon/our-pix
      /dev/sdc6 51422028 3846712 44937492 8% /samba-transfer
      /dev/sdc5 206233028 145985900 49744984 75% /home/jon/music-mp3
      tmpfs 801496 100 801396 1% /run/user/1000
      appimaged-833-x86_64.AppImage 5120 5120 0 100% /tmp/.mount_appimaNPDOgf

      What are /dev/shm, /run/lock and /tmp/.mount_appimaNPDOgf?
      'I must have a prodigious quantity of mind; it takes me as much as a week sometimes to make it up.' Mark Twain

      Comment


        #4
        (Ignore tmpfs entries; they're in-memory file systems used mostly for performance, sort of like /tmp. On some distros /tmp is a tmpfs.)

        Re the showexec problem, I expect /samba-transfer is some kind of FAT.
        Regards, John Little

        Comment


          #5
          Originally posted by jlittle View Post
          Re the showexec problem, I expect /samba-transfer is some kind of FAT.
          Nope, it's an ext4. Thanks for the nice try!

          Model: ATA ST1000DM003-1CH1 (scsi)
          Disk /dev/sdc: 1000GB
          Sector size (logical/physical): 512B/4096B
          Partition Table: gpt
          Disk Flags:

          Number Start End Size File system Name Flags
          1 1049kB 211MB 210MB fat32 msftdata
          3 211MB 53.7GB 53.5GB ext4
          2 204GB 268GB 64.4GB ext4 bios_grub
          4 268GB 644GB 376GB ext4 Linux filesystem
          5 644GB 859GB 215GB ext4 Linux filesystem
          6 859GB 913GB 53.7GB ext4 Linux filesystem
          7 913GB 923GB 10.7GB linux-swap(v1) Linux swap swap


          Could any of these be a problem? Whatever is msftdata?

          $ sudo parted -l | grep -i fat
          1 1049kB 257MB 256MB fat32 EFI System boot, esp
          2 1049kB 211MB 210MB fat32 boot, esp
          1 1049kB 211MB 210MB fat32 msftdata


          Last edited by joneall; Jul 23, 2024, 04:06 AM.
          'I must have a prodigious quantity of mind; it takes me as much as a week sometimes to make it up.' Mark Twain

          Comment

          Working...
          X