[07:57] <c_89> Good morning, I have formatted a USB flash drive with ext4 file system and I set permissions of mount point: drwxrwxrwx 777 (root:root) . But when I run a software to read data (on Xubuntu or on Android 11 device via OTG) I have only read permission. What solution do you suggest me?
[08:10] <gnrp> c_89: How do you mount it? You can set a uid or gid under which a FS would be mounted
[08:11] <gnrp> ah, no, sorry
[08:12] <gnrp> when you have an ext4 fs, then there are permissions stored on it, and these will be used. I don't know if you can overwrite it with uid/gid flags
[08:25] <c_89> gnrp that is what interests me is to be able to use a user who has write permissions on the device both when I connect the device on the desktop and when I use it on Android 11 through OTG
[08:40] <gnrp> c_89: I cannot directly help you, since I haven't done that either in years
[08:40] <gnrp> but you can find answers e.g. here: https://unix.stackexchange.com/questions/422656/how-to-make-an-ext4-formatted-usb-drive-with-full-rw-permissions-for-any-linux-m/422687
[08:41] <gnrp> ing eneral, I would not use ext4 for a removable device, but rather exfat or something like that, which is more intended for that use