Hello,
Any idea how to disable automount feature in Fedora 12?
in Fedora 11 I could easily do that through System > Administration > Authorisations but in Fedora 12 Authorisations were removed...
any ideas?
many thanks for help,
Marek
Hello,
Any idea how to disable automount feature in Fedora 12?
in Fedora 11 I could easily do that through System > Administration > Authorisations but in Fedora 12 Authorisations were removed...
any ideas?
many thanks for help,
Marek
megaloman.org
Hello,
If you want to disable the automount just:
Code:su - chkconfig autofs off
Sorry about that, that is a command I have used in Red Hat and thought it would work in Fedora. I took a look in /etc/security/console.perms.d where the system definitions used to be and it is a empty folder in f12. I bet you have to make a new file to do this.Thought I might figure it out from within /etc/security/console.perms but no, so I am not sure how to disable auto mount in f12 but will continue to look for the answer. I am sure you can still disable all usb's at the kernel line in /boot/grub/grub.conf by just add nousb to the kernel line so it looks something like
but of course don't do this if you use a usb mouse or keyboard. I have to go now but, I will see what I can find and post back tomorrow, god willing.Code:kernel /vmlinuz-version blah=blah blah blah blah rhgb quiet nousb![]()
Thanks for the response. The reason I want to disable automount is K3B is unable to verify burnt cds / dvds with automount feature enabled. In Fedora 11 I could simply disable automounting through “Authorisation”, unfortunately this useful program has been removed from Fedora 12. Obviously I don't want to disable usb devices - I use usb mouse and usb printer ;-) and you're right, in previous versions of Fedora, there was a service called autofs - I can't see it any more.
Many thanks!
megaloman.org
Comment out the lines in /etc/fstab for the partitions you do not want to automount. AFAIK, this should work.
Fedora 19 Gnome on a ThinkPad X220, i5-2540M CPU, Intel HD Graphics 3000, Intel N 6205 wireless, and Sierra Wireless 754S Mobile Hotspot (AT&T)
I just looked at my fstab in Fedora 12, and it did not have any partitions like my fstab in Mandriva (same laptop).
You might look at /usr/share/polkit-1/actions/org.freedesktop.devicekit.disks.policy to see what permissions it gives.
Fedora 19 Gnome on a ThinkPad X220, i5-2540M CPU, Intel HD Graphics 3000, Intel N 6205 wireless, and Sierra Wireless 754S Mobile Hotspot (AT&T)
Yea David, you are right, the setting is in /usr/share/polkit-1/actions/org.freedesktop.devicekit.disks.policy. All you have to do is edit your file and replace the yes on the following lines to no so it reads like:
Thanks David for pointing me in the right direction.<action id="org.freedesktop.devicekit.disks.filesystem-mount">
<description>Mount a device</description>
<description xml:lang="da">Montér en enhed</description>
<message>Authentication is required to mount the device</message>
<message xml:lang="da">Autorisering er påkrævet for at montere et fil system</message>
<defaults>
<allow_any>no</allow_any>
<allow_inactive>no</allow_inactive>
<allow_active>no</allow_active>
</defaults>
</action>![]()
Unfortunately this does not solve my issue either. I want to disable automount, but I don't want to disable mounting at all. At the moment when above “fix” is applied, I get a message "Unable to mount: Not authorised”.
The reason is - when I burn dvd's/cd's and automount is enabled, K3b is unable to verify written tracks... in Fedora 11 I could disable automount and it worked as expected - usb/cd/dvd where not mounted when inserted, but I could mount them simply with double click on an icon in My Computer window. Does any one knows how to achieve that?
Many thanks,
Marek
megaloman.org
You could try System --> Preferences --> File Management --> Media tab
See if there is a setting that would work for you. Cheers.
I've just read this thread and I think, that I have the same problem. There's my thread on KDE Community Forums:
and a bug report:HTML Code:http://forum.kde.org/viewtopic.php?f=66&t=84459&p=140787#p140787
HTML Code:https://bugs.kde.org/show_bug.cgi?id=218469
You might try this:
Install gconf-editor. Then run this program (as a regular user). In apps -> nautilus -> preferences untick the box media_automount