[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

mounting media in plasma5



Hi folks,


there is a little thing, I am not quite understanding:


I want to mount an usb-media (harddrive) with ext4-filesystem in plasma5.


When I physically connect it to an usb port, it can be automatically mounted and dolphin will open. This is working well.


But I am wondering of the rights settings. These are:


ls -la /media
insgesamt 24
drwxr-xr-x   5 root root 4096 23. Dez 2020  . 
drwxr-xr-x  21 root root 4096  3. Jul 14:47 .. 
lrwxrwxrwx   1 root root    6  3. Jan 2016  cdrom -> cdrom0 
drwxr-xr-x   2 root root 4096  3. Jan 2016  cdrom0 
-rw-r--r--   1 root root   12 11. Jun 2011  .created_by_python-fstab
-rw-r--r--   1 root root    0 13. Feb 2014  .hal-mtab
drwx------   2 root root 4096 29. Dez 2012  System-reserviert 
drwxr-x---+  2 root root 4096 24. Jun 18:55 myusername


The device will be mounted under "/media/myusername/", but when I look. I see owner rot and group root. And only root is allowed to read and write into this folder.


This is looking weired for me, as I would have been expected, that ownership would be "myusername:myusername".


I suppose, as this is a security feature, one can set this option somewhere, so that the user, who is mounting a device with ext4-filesystem can read and write it.


With fat32-filesystem this issue (f course), des not appear.


Any hint, what I should check or where I can change this? Of course another option can be, to change the directory /media/myusername to ownership myusername.


Thanks for any feedback.


Best regards


Hans  

 


Reply to: