Results 1 to 6 of 6
hello
i want to mount a ntfs-partition as user.
I want in visudo a entry which make this:
sudo mount /mnt/winxp
without asking password. Is this possible?
set ntfs-3g to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 08-19-2009 #1Just Joined!
- Join Date
- Aug 2007
- Posts
- 28
mount ntfs without root
hello
i want to mount a ntfs-partition as user.
I want in visudo a entry which make this:
sudo mount /mnt/winxp
without asking password. Is this possible?
set ntfs-3g to setuid root don't work.
any ideas?
thanks
- 08-19-2009 #2
Adding the partition to your /etc/fstab file with the user option would allow users to mount it. For more information see the fstab man page
Linux User #453176
- 08-19-2009 #3
you can found a very good example here:
don't forget to make changes according to your own system.
http://www.linuxforums.org/forum/red...artitions.htmlSorry, Linux is not my passion
.
Its addiction
!!!
- 08-19-2009 #4Just Joined!
- Join Date
- Aug 2007
- Posts
- 28
thank you, but this don't work.
in /etc/fstab is:
if I try as user (not root)Code:# Windows-Disks /dev/sda1 /mnt/winXP ntfs-3g defaults,user 0 1
mount /mnt/winXP
there is this failure:
in the website of ntfs-3g is: Solution: Use at least NTFS-3G 1.2506 with setuid-root set and make sure the user has access rights to the volume and mount point.Code:raphael@dracona:~$ mount /mnt/winXP/ Unprivileged user can not mount NTFS block devices using the external FUSE library. Either mount the volume as root, or rebuild NTFS-3G with integrated FUSE support and make it setuid root. Please see more information at http://ntfs-3g.org/support.html#unprivileged
but: my ntfs-3g version is: 2009.2.1 and set this with setuid say this:
hmm, it seems to be more difficult...Code:raphael@dracona:~$ mount /mnt/winXP/ Mount is denied because setuid and setgid root ntfs-3g is insecure with the external FUSE library. Either remove the setuid/setgid bit from the binary or rebuild NTFS-3G with integrated FUSE support and make it setuid root. Please see more information at http://ntfs-3g.org/support.html#unprivileged
any other idea?
- 08-19-2009 #5
You and I seem to be having the exact same problem... Link
- 08-21-2009 #6Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 10,148
If you have sudo privileges, you should be able to mount this without the setuid bit. As the error message shows in raphi078's posting, you can fix that by rebuilding the ntfs-3g driver and mounter with FUSE support.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote
