Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
permission to mount internal drive
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
BWStevens
n00b
n00b


Joined: 10 Jun 2015
Posts: 61
Location: Hobart

PostPosted: Mon Jun 22, 2015 1:57 pm    Post subject: permission to mount internal drive Reply with quote

Hi there I have an internel 2tb hdd that I have all my data on. It is mounted at run/media/brett/Seagate and is /dev/sdb1
Everytime I restart my computer it asks for the root password to mount the drive. It is formatted in ext4.
I've tried adding some rules to /etc/polkit.d/rules.d from the forum but nothing seems to work.
I have it added to my fstab to start on boot but I still have to type in a password.
Is there anyway to stop this or can I unmerge polkit to stop this.
Its driving me crazy and mediatomb can't access the drive because it doesn't have permission.
Back to top
View user's profile Send private message
tclover
Guru
Guru


Joined: 10 Apr 2011
Posts: 516

PostPosted: Mon Jun 22, 2015 3:54 pm    Post subject: Reply with quote

No, no, no... Do not bother with crap kit for such an easy task; just make a static directory somewhere--say `/mnt/data'; and then add an entry in `/etc/fstab' with either UUID/LABEL (more reliable) or plain device file path `/dev/sdX'; and finally pick up mounts option and append `user' option to give users permission to mount (and possibly `noauto' to disable automatic mount.) Simple and reliable, no crap kit required.
_________________
home/:mkinitramfs-ll/:supervision/:e-gtk-theme/:overlay/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum