You are not logged in.
When I create a partition with mkfs.ext4 I need to create a directory that is owned by a user. If I don't do this, I can write files as root only.
I could probably make some udev rule to make pendirve writable to everyone.
But in KDE Plasma partiton manager there is an option to give write/read permission for everyone or administrator only.
Unfortunately, I can't figure it out.
Could you please give me a hint how it works?
By default, KDE Plasma mounts pendrives in /run/media/$USER directory
In my case /run/media/jm
jm has drwxr-x---+
After connecting pendrive, inside jm directory there is Transcend (label of my pendirve) with:
drwxrwxrwx (this is after creating partition in Plasma partition manager)
When I create partition with mkfs.ext4 than Transcend inside jm has drwxr-xr-x
Offline
You don't need to make a directory, you can just change the permission on the "root" of the partition by chmod/chowning the mounted root path.
Permissions on ext4 are stored on the drive, they are not applied on mount.
Online
Permissions on ext4 are stored on the drive, they are not applied on mount.
Damn. I've been tilting at that windmill for years. It never even dawned on me that things defined in antiquity would change with modern file systems.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Online