I think that anyone capable of using a computer has the right to write to a USB 
key regardless of its formatting.
You don't have to be a genius with superpowers!
enfants@p:/media/enfants$ ls -als
total 127
 4 drwxr-x---+ 25 root    root     4096 juil.  5 09:11 .
 4 drwxr-xr-x  11 root    root     4096 juil.  5 09:10 ..
16 drwxr-xr-x   1 root    root        0 juil.  5 08:32 btrfs
 4 drwxr-xr-x   2 enfants enfants  4096 juil.  5 09:11 exfat
 4 drwxr-xr-x   3 root    root     4096 juil.  5 08:32 ext2
 4 drwxr-xr-x   3 root    root     4096 juil.  5 08:32 ext3
 4 drwxr-xr-x   3 root    root     4096 juil.  5 08:32 ext4
 4 drwxr-xr-x   2 root    root     4096 juil.  5 08:32 f2fs
16 drwxr-xr-x   2 enfants enfants 16384 janv.  1  1970 FAT16
 1 drwxr-xr-x   2 enfants enfants   512 janv.  1  1970 FAT32
 1 drwxr-xr-x   4 enfants enfants   512 janv.  1  1970 FAT-DEUXUSB
 0 drwxr-xr-x   1 enfants enfants     3 juil.  5 09:11 hfsplus
 1 drwxr-xr-x   2 root    root     4096 juil.  5 08:34 nilfs2
 4 drwxrwxrwx   1 enfants enfants  4096 juil.  5 08:34 ntfs
 0 drwxr-xr-x   4 root    root       80 juil.  5 09:11 reiserfs
 0 drwxr-xr-x   2 root    root        6 juil.  5 08:35 xfs

enfants@p:/media/enfants$ cd ext4

enfants@p:/media/enfants/ext4$ sudo mkdir titi
enfants n'apparaît pas dans le fichier sudoers. Cet incident sera signalé.
enfants@p:/media/enfants/ext4$

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

Title:
  udisksctl mount some partitions in read mode for the user.

Status in udisks2 package in Ubuntu:
  New

Bug description:
  Good morning.
  Under ubuntu 23.04, I created four different partitions (ext4, ntfs, ext3, 
exfat).
  When I plug in the usb key, all four partitions are automatically mounted by 
the UDISKSCTL application which says it works for me. i am the user "a".

  journalctl -b -g Quest
  juin 19 19:21:53 a udisksd[1343]: Mounted /dev/sdd4 at /media/a/Question4 on 
behalf of uid 1000
  juin 19 19:21:54 a udisksd[1343]: Mounted /dev/sdd3 at /media/a/Question3 on 
behalf of uid 1000
  juin 19 19:21:54 a udisksd[1343]: Mounted /dev/sdd1 at /media/a/Question1 on 
behalf of uid 1000
  juin 19 19:21:54 a udisksd[1343]: Mounted /dev/sdd2 at /media/a/Question2 on 
behalf of uid 1000

  But I see that I am banned from writing for two of them.

  ls -ls /media/a | grep Quest
   4 drwxr-xr-x 3 root root 4096 juin 19 19:02 Question1
   4 drwxrwxrwx 1 a a 4096 juin 19 19:20 Question2
   4 drwxr-xr-x 3 root root 4096 juin 19 19:03 Question3
  32 drwxr-xr-x 2 a a 32768 juin 19 19:21 Question4

  I thought that this version will finally properly address the problem
  that has existed for too long.

  I consider this to be a malfunction and not smart security.

  
  I summarize the problem.
  When an external disk contains an ext4 partition, the user is not allowed to 
write to this partition. He
  must do a command 'sudo chown/chmod ........'
  It is not normal. This situation has lasted long enough. Do what is necessary 
so that the write mount of a USB medium is transparent to the user. It will do 
a lot of people a lot of good.
  Good day.

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


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to