Score:0

Automount an SSD or USB only mounts as root (want to use it for Dropbox)

kz flag

here's the problem.

I'm running 22.04.1 LTS on a Surface Pro7 with the Linux Surface kernel. My Surface only has a 128 Gb internal SSD, not enough for my Dropbox. So I got a 512 Gb MicroSD formatted as exFAT, with plans to automount it into /home/myname/Dropbox2, and then use that as the Dropbox folder. This is what I've done under mount options in "Disks":

unselected "User Session Defaults", selected "Mount at system startup", changed Mount Point to "/home/myname/Dropbox2

When I do this, I can only ever get it to mount with the owner as root (whereas when I keep the defaults, it mounts as r+w.

I have tried to change the ownership using

sudo chown myname:myname /home/myname/Dropbox2

But it says "Operation not permitted"

To no avail. I've tried little things like creating the "Dropbox2" folder in /home/myname in advance, making sure the ownership is correct, then mounting to it, to no avail.

I can't figure out which part of this is causing me the headache. Is it exFAT? The default mount options work, so I'm unselecting the default mount options and then changing things step by step, but it seems as soon as I unselect the default mount option it refuses to mount under any owner other than root.

I realise this question has been asked before but some of it seems deprecated (e.g. I understand editing fstab manually is now no longer recommended - Automounting Not Working, Permissions of an automount ntfs partition, Automount USB drive broken, External drive mounts only as root, How to automatically mount usb flash drive at startup, Automounting Not Working)

I have spent hours slowly and painfully trying everything in those and not found success. Thanks in advance.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.