A partition in my system has no reading writing rights, it always needs sudo
permission. How to make it regularly accessible without sudo
?
This is the output of lsblk -fs -d -p -m -I 3,8,66,67,68
-
NAME FSTYPE LABEL UUID MOUNTPOINT NAME SIZE OWNER GROUP MODE
/dev/sda1 vfat ESP 2877-2A33 /boot/efi /dev/sda1 600M root disk brw-rw----
/dev/sda2 vfat OS 2AC3-1F88 /dev/sda2 3G root disk brw-rw----
/dev/sda3 ext4 UBUNTU b838e318-4ded-423a-b03e-f41d3613056b / /dev/sda3 69.9G root disk brw-rw----
/dev/sda4 swap 07c2b983-ef39-4d69-84c9-de1f8e649986 [SWAP] /dev/sda4 14.9G root disk brw-rw----
/dev/sda5 ext4 1e8494eb-8d8b-4ce1-9621-c0e625e38361 /dev/sda5 65.2G root disk brw-rw----
/dev/sda6 ext4 65899ea6-e053-48dc-9ad8-8fad389eeaca /media/ubu /dev/sda6 778G root disk brw-rw----
The partition
/dev/sda6
has the 'ext4` file system. This is a linux file system, and you can manage the ownership and permissions individually for each directory and file.I suggest that you do a basic configuaration:
Create a directory in the partition at the mountpoint
/media/ubu...
(use the complete path).Set the desired owner of this directory, for example
"$USER"
.Maybe change the permissions of this directory, but the defaults might work for you, when you own it.
Now you should be able to read and write in this 'data' directory in your partition
/dev/sda6
.If there are still problems, please describe them, and I will try to help ...