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

25th April 2010, 06:28 AM
|
|
Registered User
|
|
Join Date: Feb 2006
Posts: 9

|
|
|
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).
|

25th April 2010, 10:23 AM
|
 |
Registered User
|
|
Join Date: Mar 2009
Location: Lancaster, UK
Posts: 883

|
|
|
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?
|

26th April 2010, 08:34 AM
|
|
Registered User
|
|
Join Date: Feb 2006
Posts: 9

|
|
|
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.
|

26th April 2010, 12:32 PM
|
|
Registered User
|
|
Join Date: Jul 2009
Location: England, UK
Posts: 821

|
|
|
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!
|

26th April 2010, 03:46 PM
|
 |
Administrator
|
|
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,289

|
|
|
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
|

28th April 2010, 08:43 AM
|
|
Registered User
|
|
Join Date: Feb 2006
Posts: 9

|
|
|
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.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 01:17 (Friday, 24-05-2013)
|
|
 |
 |
 |
 |
|
|