You are not logged in.
KDE automagically detects removable media, and asks the user to mount it. When said media is formated in FAT32, detection and mounting work perfectly. However, when inserting an ext4 formatted SD card, KDE's automounter will mount it giving writing permissions to root only!! From what I could google, that must somehow be related to udev, but I have not been able to go much further than this. Even reading the fine wiki was not of much help. Now, I know that I can change the owner/permissions of the mount point, and presto, the normal user can write to the removable media. But how do I make this the default behaviour, for the automounter? (the normal user is a member of the storage group).
Offline
If you "chown -R youruser.users" the mount point when the card is mounted, is it only accessible to root the next time KDE mounts it?
Offline
If you "chown -R youruser.users" the mount point when the card is mounted, is it only accessible to root the next time KDE mounts it?
I suppose not, but that is beside the point: the mount point (typically /run/media/user/device_uuid) is only created when the external device is plugged in (and removed after using KDE's "eject" function). And even if I did as per your suggestion, that would not help for the next ext4 formatted device ![]()
Offline
I don't know how udisks manages mount point's permissions, but the fact is, if you have files owned by some other user on a ext4 (or other Linux) filesystem, then you can't mount it so it would have a different owner (you can only chown it with root), while Windows filesystems' permissions/owner/group are set at mount time.
https://bbs.archlinux.org/viewtopic.php?id=160259
Last edited by lucke (2013-05-25 09:54:58)
Offline