You are not logged in.
I have a hdd inside my laptop. Every time I want to open the hdd, I have to enter the password in dolphin. I use fstab for auto mount. But when I want to create a folder in dolphin there is a message “You do not have permission to create items in this folder”. Or when I want to create a new file must authenticate “Root previleges are needed to save this document”
Here is my fstab file
cat /etc/fstab
# UUID=8f01425f-cb22-4e67-915d-7d06a6868e9b
/dev/nvme0n1p3 / ext4 rw,relatime 0 1
# UUID=FA02-4542
/dev/nvme0n1p1 /boot/efi vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 0 2
# UUID=b6fe1f87-01c9-4a91-8c53-9d165a352b82
/dev/nvme0n1p2 none swap defaults 0 0
# UUID=EFBF-7348
UUID=EFBF-7348 /mnt/HDD exfat defaults 0 0
Last edited by defuri (Today 04:21:53)
Offline
Please always remember to do research before asking questions here.
Anyways, read up on this page: https://wiki.archlinux.org/title/File_p … attributes
Offline
Solved, I will leave the way so that in the future people will not be confused like me. I hope this will help you
for uid run command
id -u yourUsername
for gid run command
id -g yourGroup
to see the uuid and filesystem type of the device you want to automount
lsblk -f
then copy the uuid
don't forget to change the uuid, uid, and gid
sudo nano /etc/fstab
add these line, change /mnt/HDD to path you want and exfat to your filesystem type
# UUID=EFBF-7348
UUID=EFBF-7348 /mnt/HDD exfat defaults,uid=uid,gid=gid,dmask=022,fmask=133 0 0
https://wiki.archlinux.org/title/Fstab
^^
Offline