<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Intrepid Blog &#187; pmount</title>
	<atom:link href="http://blog.affien.com/archives/tag/pmount/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.affien.com</link>
	<description>A few thoughts</description>
	<lastBuildDate>Mon, 23 Jan 2012 08:47:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>(auto)mounting removable media as user</title>
		<link>http://blog.affien.com/archives/2006/12/13/automounting-removable-media-as-user/</link>
		<comments>http://blog.affien.com/archives/2006/12/13/automounting-removable-media-as-user/#comments</comments>
		<pubDate>Wed, 13 Dec 2006 17:46:26 +0000</pubDate>
		<dc:creator>Bas Westerbaan</dc:creator>
				<category><![CDATA[Computer Science]]></category>
		<category><![CDATA[gentoo]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[pmount]]></category>

		<guid isPermaLink="false">http://blog.w-nz.com/archives/2006/12/13/automounting-removable-media-as-user/</guid>
		<description><![CDATA[I've always been bothered by the fact that you need to  [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve always been bothered by the fact that you need to be root to mount anything (like an usb stick). It can be solved a bit by setting up udev rules and putting a specific device in <code>/etc/fstab</code>, but that only works for <em>that</em> single usb stick. Pretty annoying.</p>
<p>Googling only gives you stupid and silly solution (like allowing users to mount <code>/dev/sd[a-z]</code> &#8212; security risk).</p>
<p>Luckily I&#8217;ve recently been pointed to <a href="http://ivman.sourceforge.net/">ivman</a>, which is an automounter. It automatically mounts removable media for you in <code>/media</code>.</p>
<p>I looked at the internals of ivman, and noticed that it uses <a href="http://www.piware.de/projects.shtml">pmount</a>, which is a wrapper around mount which allows users to mount removable media on a <code>/media</code> folder. Great!</p>
<p>Btw, you need to be in the <code>plugdev</code> group to use pmount.</p>
<p><em>Update</em> It seems that gnome-mount also works fine when you&#8217;re in the <code>plugdev</code> group. Gnome-mount does about the same as pmount with the advantage that gnome-mount has got the nice gui integration everywhere in gnome.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.affien.com/archives/2006/12/13/automounting-removable-media-as-user/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

