You are not logged in.

#1 2018-04-19 14:00:57

thepoke32
Member
Registered: 2017-04-14
Posts: 13

[SOLVED] [fstab] Automount makes the drive's owner root

So today I decided to make my fstab mount my Seagate Expansion Drive everytime I boot my PC, but I had an issue doing so. Everytime I mount it, the owner is root. No matter what. I also tried chown-ing it but it wouldn't work.
When it isn't mounted I can chown it, but when I mount it it goes back to root.
fstab:
https://gist.github.com/thepoke32/c3f17 … 65d3336a14

Last edited by thepoke32 (2018-04-22 17:11:51)

Offline

#2 2018-04-19 14:14:44

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] [fstab] Automount makes the drive's owner root

NTFS filesystem by any chance?


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2018-04-19 14:23:04

thepoke32
Member
Registered: 2017-04-14
Posts: 13

Re: [SOLVED] [fstab] Automount makes the drive's owner root

Yep, the FS is NTFS.

Last edited by thepoke32 (2018-04-19 14:25:33)

Offline

#4 2018-04-19 14:29:11

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,530
Website

Re: [SOLVED] [fstab] Automount makes the drive's owner root

Are you using ntfs-3g?  Have you read the wiki page:
https://wiki.archlinux.org/index.php/NTFS-3G


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#5 2018-04-19 15:09:32

thepoke32
Member
Registered: 2017-04-14
Posts: 13

Re: [SOLVED] [fstab] Automount makes the drive's owner root

I applied the gid and uid values. This is what it looks like:

UUID=01D26B7DE6DD1BE0 /mnt/Seagate ntfs user,nosuid,nodev,nofail,uid=1000,gid=10,umask=0022,x-gvfs-show,x-gvfs-name=Seagate%20Expansion 0 0

I can now manually claim ownership, but everytime I remount it, the ownership goes back to root. I can also not change the group permissions.

Offline

#6 2018-04-19 15:29:25

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,530
Website

Re: [SOLVED] [fstab] Automount makes the drive's owner root

ntfs != ntfs-3g

The built in kernel ntfs driver is extremely limited.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#7 2018-04-20 10:37:55

thepoke32
Member
Registered: 2017-04-14
Posts: 13

Re: [SOLVED] [fstab] Automount makes the drive's owner root

So, turns out I just needed to change the "ntfs" in my fstab to ntfs-3g and reboot. Now it's perfect.

Offline

#8 2018-04-20 11:01:33

judd1
Member
Registered: 2015-09-04
Posts: 260

Re: [SOLVED] [fstab] Automount makes the drive's owner root

You can edit the title of the post by adding [Solved]


This isn't right. This isn't even wrong.
-- Wolfgang Pauli --

Offline

#9 2018-04-20 17:27:49

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: [SOLVED] [fstab] Automount makes the drive's owner root


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

Board footer

Powered by FluxBB