Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
15
rated 0 times [  15] [ 0]  / answers: 1 / hits: 91813  / 3 Years ago, wed, september 22, 2021, 9:43:32

How do I mount an ext4 partition as my user account so I wouldn't require root access to r/w on it? I used -o uid=flint,gid=flint on the mount command but I keep getting



mount: wrong fs type, bad option, bad superblock on /dev/sda7,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so


Another thing, I want avoid using udisks for now as it doesn't let me mount to my specified mount point name.


More From » mount

 Answers
1

You don't. The files in the fs are owned by whoever owns them, and you can not change that at mount time. Instead you need to change the permissions to give yourself access with sudo chown yourname.yourname /path/to/mount. On a freshly formatted filesystem, the root directory is owned by root, so you will need to change it and from then on, you will be able to create new files which will be owned by you.


[#37066] Thursday, September 23, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
anatta

Total Points: 326
Total Questions: 128
Total Answers: 96

Location: Jordan
Member since Sun, Jun 26, 2022
2 Years ago
anatta questions
Sun, Jul 17, 22, 07:13, 2 Years ago
Sun, Jun 6, 21, 12:17, 3 Years ago
Sat, Jun 12, 21, 20:43, 3 Years ago
Thu, Jan 13, 22, 20:49, 2 Years ago
Sat, Jun 5, 21, 05:39, 3 Years ago
;