Created
August 23, 2015 00:14
-
-
Save sdalu/3888bbcd041ee6fa4139 to your computer and use it in GitHub Desktop.
Configure FreeBSD10 and Gnome3 for volume mount
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install hal wrapper for ntfs-3g | |
ln -s /usr/local/share/hal/mount-fuse /usr/sbin/mount_ntfs | |
# Configure gnome for ccorrect invocatin of mount | |
gconftool-2 --type list --list-type=string --set /system/storage/default_options/ntfs/mount_options '[mountprog=/usr/sbin/mount_ntfs]' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- XML -*- --> | |
<!DOCTYPE pkconfig PUBLIC "-//freedesktop//DTD PolicyKit Configuration 1.0//EN" | |
"http://hal.freedesktop.org/releases/PolicyKit/1.0/config.dtd"> | |
<!-- See the manual page PolicyKit.conf(5) for file format --> | |
<config version="0.1"> | |
<match user="root"> | |
<return result="yes"/> | |
</match> | |
<define_admin_auth group="wheel"/> | |
<match action="org.freedesktop.hal.storage.mount-removable"> | |
<match user="CHANGME"> | |
<return result="yes"/> | |
</match> | |
</match> | |
</config> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment