Only Root Can Mount USB Drive

Questions about applications and software
Forum rules
Before you post please read how to get help

Only Root Can Mount USB Drive

Postby brando569 on Mon Oct 06, 2008 8:09 pm

I want to be able to mount my usb thumb drive without having to authenticate myself. i read the notice that pops up which says either mount the device as root or recompile ntfs-3g with fuse support and make it setuid root. i downloaded the source for the newest ntfs-3g and compiled it as it said.

I also executed these commands so that I could mount any ntfs drive as an unprivileged user:
Code: Select all
chown root.ntfsuser $(which ntfs-3g)
chmod 4750 $(which ntfs-3g)
source

when I inserted my usb drive it pops up konqueror but instead of giving me an error it just doesnt do anything (it doesnt mount the drive).

so i tried this:
Code: Select all
chown root $(which ntfs-3g)
chmod 4755 $(which ntfs-3g)
source

but got the same problem.
brando569
Level 2
Level 2
 
Posts: 55
Joined: Sun Mar 30, 2008 3:02 am

Linux Mint is funded by ads and donations.
 

Re: Only Root Can Mount USB Drive

Postby Husse on Tue Oct 07, 2008 8:35 am

I'm a bit baffled here
I should say that I don't have anything with ntfs on USB - only fat
When you connect the USB drive it is mounted by pmount that is a mount in user space
See man pmount or
http://linux.die.net/man/1/pmount
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Only Root Can Mount USB Drive

Postby brando569 on Tue Oct 07, 2008 4:05 pm

ok but how can i make it automatically use pmount when i insert the usb drive? the drive had fat32 on it i believe when i first got it but i reformatted it with ntfs because i use it most on windows and to transport large files (its a 4gb flash drive)
brando569
Level 2
Level 2
 
Posts: 55
Joined: Sun Mar 30, 2008 3:02 am

Re: Only Root Can Mount USB Drive

Postby Husse on Wed Oct 08, 2008 6:47 am

That's the default unless the device is listed in fstab
To be sure - what happens when you insert the stick?
Any difference if it's connected during boot?
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden


Return to Software & Applications

Who is online

Users browsing this forum: No registered users and 16 guests