You are not logged in.
Pages: 1
Hey , I am trying to automount the windows partition
I am using gnome and my system is up to date
/dev/sdX /media/location ntfs-3g auto,rw,user 0 0
adding such lines to /etc/fstab would not work as ntfs-3g quit with error (cannot mount when not root ..):
(adding umask and users group to options will not do the trick either)
I've changed the /usr/share/polkit-1/actions/org.freedesktop.udisks.policy file to be able to click-mount from the gnome nautilus file browser.
yet when the I log in the volumes are not mounted automatically.
udev rules from the wiki is not working either.
and I cant get HAL to do the work ..
in other distos I often get gnome with a volume manager but I'd like to see "arch way" solution to this matter
thanks in advanced
Offline
I'm not sure about ntfs-3g and nautilus and automounting but pmount lets users mount. Maybe you can add a script which will automount them for you.
Offline
This line in /etc/fstab works for me to auto-mount my windows partition:
/dev/sda1 /mnt/windows ntfs-3g uid=1000,gid=100,umask=0022 0 0
Last edited by skanky (2010-08-06 12:23:17)
"...one cannot be angry when one looks at a penguin." - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle
Offline
Hey , from what I understand pmount will only mount removable devices ... I am getting "is not removable" when I try to mount hard disk
EDIT:
it worked with skanky solution somehow I am sure I've tried exact alike configuration anyway thanks for your help and time.
Last edited by liorc666 (2010-08-06 12:32:00)
Offline
Hey , from what I understand pmount will only mount removable devices ... I am getting "is not removable" when I try to mount hard disk
EDIT:
it worked with skanky solution somehow I am sure I've tried exact alike configuration anyway thanks for your help and time.
Could you please mark the thread as solved, by editing your first post and prefixing your subject line with [SOLVED]
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
Before you guys move on I'd like to ask if auto-mounting to ~/somefolder works in fstab.
Mounting in fstab to /media/windows using ntfs-3g works fine, but when I try to mount to /home/user/windows, it says folder can't be found (but I know it exists)
Offline
TBH I've never tried. Instead I link from my home folder to the mount point. E.g. in the example above I have a ~/win folder that's a link to /mnt/windows. That way I can also link into subdirs - eg directly into my "home" folder under windows.
"...one cannot be angry when one looks at a penguin." - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle
Offline
I always get the following message when trying to mount an ntfs volume as non-root:
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
How have you guys solved this?
Offline
TBH I've never tried. Instead I link from my home folder to the mount point. E.g. in the example above I have a ~/win folder that's a link to /mnt/windows. That way I can also link into subdirs - eg directly into my "home" folder under windows.
Sounds good
I always get the following message when trying to mount an ntfs volume as non-root:
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
How have you guys solved this?
From the ntfs-3g man page:
If ntfs-3g is set setuid-root then non-root users will be also able to mount volumes.
Offline
Ramses de Norre wrote:I always get the following message when trying to mount an ntfs volume as non-root:
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
How have you guys solved this?
From the ntfs-3g man page:
If ntfs-3g is set setuid-root then non-root users will be also able to mount volumes.
I had already tried that, the result:
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
Last edited by Ramses de Norre (2010-08-07 15:40:14)
Offline
I always get the following message when trying to mount an ntfs volume as non-root:
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
How have you guys solved this?
AFAICR* I've never seen that message - sorry.
* I keep regretting not taking notes as I go along.
"...one cannot be angry when one looks at a penguin." - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle
Offline
I had already tried that, the result:
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
Don't know about that. If it's a removable device (USB hard disk) you might want to take a look at pmount
Offline
does pmount require a reboot? I restarted HAL and the errors continue?
Help grow the dev population... have your tech trained and certified!
Offline
pmount does not require a reboot. O_o
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline
interesting... well I installed it and I still get mounting errors when plugging in USB drives (flash or otherwise) so I'm not sure what the issue is. And it's the same for both my laptop and desktop... was hoping pmount would cure my issue, but I may have to post my error on here... debating on whether I should start a new thread or not because my mount error is a bit different from the one started here.
Help grow the dev population... have your tech trained and certified!
Offline
Before you guys move on I'd like to ask if auto-mounting to ~/somefolder works in fstab.
Mounting in fstab to /media/windows using ntfs-3g works fine, but when I try to mount to /home/user/windows, it says folder can't be found (but I know it exists)
Thanks for sharing.
__________________
Watch Piranha 3D Online Free
Last edited by nicoledc109 (2010-08-16 08:00:29)
Offline
Pages: 1