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

9th April 2012, 03:23 AM
|
|
Registered User
|
|
Join Date: Nov 2008
Posts: 29

|
|
|
Allowing User Mount of Ntfs
I have attempted to permit user mounting of an ntfs partition with the following entry in fstab:
/dev/sda3 /mnt/winc ntfs noauto,users,defaults 0 0
This works when logged in as root, but not otherwise. When a user attempts to mount /mnt/winc,
there is no error message or any other indication that it did not work. What's going wrong?
|

9th April 2012, 03:31 AM
|
 |
Registered User
|
|
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 5,449

|
|
|
Re: Allowing User Mount of Ntfs
I think the problem is that your mount options list: noauto,users,defaults
is applied in list order, so "defaults" which is -> rw, suid, dev, exec, auto, nouser, async
resets your 'users' and 'noauto' back to 'nouser' and 'auto'
So to fix this, change the option list order so 'defaults' comes before noauto and users:
Quote:
|
/dev/sda3 /mnt/winc ntfs defaults,noauto,users 0 0
|
|

9th April 2012, 04:00 AM
|
|
Registered User
|
|
Join Date: Nov 2008
Posts: 29

|
|
|
Re: Allowing User Mount of Ntfs
Quote:
|
So to fix this, change the option list order so 'defaults' comes before noauto and users:
|
No difference. I also have another entry for a flash drive:
/dev/flash /mnt/flash vfat noauto,users,ro,defaults 0 0
which works perfectly.
|

9th April 2012, 04:07 AM
|
 |
Administrator
|
|
Join Date: Aug 2009
Posts: 6,612

|
|
|
Re: Allowing User Mount of Ntfs
I just mount it for all users to use in my fstab here.
here is what I use:
Code:
UUID=4EAE6CB6AE6C986B /mnt/Drive_C ntfs-3g defaults,locale=en_US.utf8,comment=systemd.automount 0 0
|

9th April 2012, 04:19 AM
|
 |
Registered User
|
|
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 5,449

|
|
|
Re: Allowing User Mount of Ntfs
Quote:
Originally Posted by ghborrmann
No difference. I also have another entry for a flash drive:
/dev/flash /mnt/flash vfat noauto,users,ro,defaults 0 0
which works perfectly.
|
Hmm, we'll ok, I was just getting the order information from the "man mount" (bold)
which seems to suggest that the order of the options matters:
Quote:
user Allow an ordinary user to mount the filesystem. The name of the mounting
user is written to mtab so that he can unmount the filesystem again. This
option implies the options noexec, nosuid, and nodev (unless overrid‐
den by subsequent options, as in the option line user,exec,dev,suid).
|
|

9th April 2012, 08:54 AM
|
 |
Registered User
|
|
Join Date: Mar 2006
Location: Hungary
Age: 35
Posts: 59

|
|
|
Re: Allowing User Mount of Ntfs
I have the almost same thing with nfs v3, I can mount, but not umount the remote fs.
My fstab:
Code:
192.168.41.1:/home/ftp/pub /mnt/ftp nfs defaults,noexec,nodev,nosuid,rw,hard,intr,rsize=4096,wsize=4096,vers=3,mountvers=3,nfsvers=3,user,noauto,_netdev 0 0
When umount, it say:
Code:
umount: /mnt/ftp mount disagrees with the fstab
With this options, it works from RH6.2 to Fedora14 nicely.
__________________
Fonya
|
| 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: 12:24 (Thursday, 23-05-2013)
|
|
 |
 |
 |
 |
|
|