Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 25th April 2010, 06:28 AM
stephanb Offline
Registered User
 
Join Date: Feb 2006
Posts: 9
linuxsafari
How do I mount an ntfs partition without root password?

When I click on my Vista partition under "Places" in the Fedora menus, I'm asked to enter the root password for mounting the partition. Is there a way to allow any user to mount this particular partition, to avoid the unnecessary input? The partition is not listed in /etc/fstab (fedora 12 for x86_64).
Reply With Quote
  #2  
Old 25th April 2010, 10:23 AM
Adunaic's Avatar
Adunaic Offline
Registered User
 
Join Date: Mar 2009
Location: Lancaster, UK
Posts: 883
linuxfedorafirefox
Re: How do I mount an ntfs partition without root password?

why don't you just put the partition in /etc/fstab that way it will be mounted on boot.

open a terminal and become root.
make a directory which you want the drive to be mounted as /media/vista and then open /etc/fstab in your favourite editor and add teh following line at the bottom (where /dev/sda5 should be replaced with where your vista partition is)

/dev/sda5 /media/vista ntfs defaults 0 0
^ ^ ^
drive mount point file type

Does this help?
Reply With Quote
  #3  
Old 26th April 2010, 08:34 AM
stephanb Offline
Registered User
 
Join Date: Feb 2006
Posts: 9
linuxsafari
Re: How do I mount an ntfs partition without root password?

Thanks for the answer, but I actually prefer to mount the Vista partition only in sessions when I need to access some data on it. At other times I feel that the mounting clutters my desktop and that loading the software for handling ntfs into memory unnecessarily consumes (a little bit of) resources.

So I like to use the "Places" menu for mounting my Vista partition. When a USB disk gets mounted, then no root password is asked, but the mount options in /etc/mtab are the same for both disks:

/dev/sdb1 /media/Iomega\040HDD fuseblk rw,nosuid,nodev,allow_other,blksize=4096,default_p ermissions 0 0
/dev/sda1 /media/Vista fuseblk rw,nosuid,nodev,allow_other,blksize=4096,default_p ermissions 0 0

Why the root password is requested for the Vista partition, but not the USB disk, is a mystery for me, but I guess that this is configurable somewhere.
Reply With Quote
  #4  
Old 26th April 2010, 12:32 PM
marriedto51 Offline
Registered User
 
Join Date: Jul 2009
Location: England, UK
Posts: 821
linuxfedorafirefox
Re: How do I mount an ntfs partition without root password?

You can put the option "users" in the fstab entry to allow all users to mount/unmount the partition. I don't know whether that works with the fuseblk filesystem type, but I know you can do it with other types. (You would add "users" to the list of options separated by commas.)

I have never quite understood how fuse works, either, so if someone else can explain how to configure who mounts and where I'd be interested to know, too!
Reply With Quote
  #5  
Old 26th April 2010, 03:46 PM
Hlingler's Avatar
Hlingler Offline
Administrator
 
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,289
linuxopera
Re: How do I mount an ntfs partition without root password?

Quote:
... I actually prefer to mount the Vista partition only in sessions when I need to access some data on it ...
In /etc/fstab, use the 'noauto' and 'users' options to prevent auto-mounting and allow any user(s) to mount/un-mount, respectively. Read: man mount .
Quote:
I don't know whether that works with the fuseblk filesystem type ...
Yes.
Quote:
Why the root password is requested for the Vista partition, but not the USB disk, is a mystery for me ...
Different services are controlling the mounting of the different devices, and/or different policies apply to the different device types.

V
Reply With Quote
  #6  
Old 28th April 2010, 08:43 AM
stephanb Offline
Registered User
 
Join Date: Feb 2006
Posts: 9
linuxsafari
Re: How do I mount an ntfs partition without root password?

After adding to /etc/fstab a line

/dev/sda1 /media/Vista fuseblk rw,nosuid,nodev,allow_other,blksize=4096,default_p ermissions,noauto,users 0 0

mounting the Vista partition via the "Places" menu doesn't work any more, mount point "/media/Vista" is missing. However, I don't want to create "/media/Vista" permanently, because /media is obviously supposed to contain only active mount points. And if I create the mount point somewhere else (eg in /mnt), then after mounting the partition is not shown on the desktop, and the nautilus window for it doesn't pop up. So I don't think that the permissions for dynamic mounts by fuse are supposed to be configured via lines in /etc/fstab. It must be somewhere else.
Reply With Quote
Reply

Tags
mount, ntfs, partition, password, root

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help: Dolphin accesing windows NTFS Partitions without root password Strawberry Using Fedora 0 26th January 2010 05:17 PM
ntfs-3g cannot mount NTFS partition tsangcn Using Fedora 6 28th July 2008 05:53 PM
Cannot mount my other NTFS partition what so ever leorex Alpha - Beta (Fedora 9 Only) 1 4th May 2008 02:08 AM
How to mount NTFS partition in FC6 on a RAID with ntfs-3g ? vhol EOL (End Of Life) Versions 2 30th November 2006 12:56 AM


Current GMT-time: 01:17 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat