Score:1

How to auto mount drive with user permissions

kg flag

When I mount a drive using fstab, it is owned by root, and I cannot write to it. I have tried chowning the folder where it gets mounted but it does nothing while mounted, and doing it when unmounted fixes, but when it mounts it gets set back to root.

cn flag
"it is owned by root" No it is owned by the user you set in the fstab line for windows system (`rw,user,exec,mode=1777`) 1 thing we do need: what is the filesystem of that drive? windows based? or linux based?
bluescorpian avatar
kg flag
@Rinzwind it is fat32 partition
cn flag
windows mounts do not use linux rules so chmod/chown commands are invalid. You set the user using fstab with the bit in my previous comment ;)
Score:0
kg flag

https://help.ubuntu.com/community/AutomaticallyMountPartitions#Per-User_Mounts Used udisksctl and startup applications to mount it, I am able to write to it now.

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.