<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Mounting disks without root permissions</title>
	<atom:link href="http://ubuntuguy.com/uncategorized/mounting-disks-without-root-permissions/feed/" rel="self" type="application/rss+xml" />
	<link>http://ubuntuguy.com/uncategorized/mounting-disks-without-root-permissions/</link>
	<description>Ubuntu tips and tricks from a random guy</description>
	<lastBuildDate>Thu, 14 Oct 2010 18:25:02 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: P</title>
		<link>http://ubuntuguy.com/uncategorized/mounting-disks-without-root-permissions/comment-page-1/#comment-3142</link>
		<dc:creator>P</dc:creator>
		<pubDate>Thu, 14 Oct 2010 18:25:02 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntuguy.com/?p=73#comment-3142</guid>
		<description>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</description>
		<content:encoded><![CDATA[<p>Unprivileged user can not mount NTFS block devices using the external FUSE<br />
library. Either mount the volume as root, or rebuild NTFS-3G with integrated<br />
FUSE support and make it setuid root. Please see more information at<br />
<a href="http://ntfs-3g.org/support.html#unprivileged" rel="nofollow">http://ntfs-3g.org/support.html#unprivileged</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kumar</title>
		<link>http://ubuntuguy.com/uncategorized/mounting-disks-without-root-permissions/comment-page-1/#comment-1871</link>
		<dc:creator>kumar</dc:creator>
		<pubDate>Mon, 22 Mar 2010 16:10:15 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntuguy.com/?p=73#comment-1871</guid>
		<description>Determine uid of my user

First of all we need to know the uid (user ID) of our user. Open a terminal and give this command:

id -u $USER

This will output a number(usually this will be 1000). Keep this number and let’s go to the next step:
Set fstab to mount the disk as the current user

First of all open the /etc/fstab configuration file as root:

gksu gedit /etc/fstab

You will see something like that:

UUID=3C1850B51850703E /media/disk vfat defaults 0 0

Change the defaults to this:

UUID=3C1850B51850703E /media/disk vfat user,uid=1000,utf8 0 0

Where 1000 is your actual userID. We are done, now every time you login the disk will be accessible from your account. In case your disk is NTFS this wont work, but there is another solution which is actually the simpler one:
Configuring through graphical interface

Install ntfs-config by clicking here, or by executing the above command:

sudo apt-get install ntfs-config

Then execute the program by executing:

gksu ntfs-config

Click on both the options, and you are done</description>
		<content:encoded><![CDATA[<p>Determine uid of my user</p>
<p>First of all we need to know the uid (user ID) of our user. Open a terminal and give this command:</p>
<p>id -u $USER</p>
<p>This will output a number(usually this will be 1000). Keep this number and let’s go to the next step:<br />
Set fstab to mount the disk as the current user</p>
<p>First of all open the /etc/fstab configuration file as root:</p>
<p>gksu gedit /etc/fstab</p>
<p>You will see something like that:</p>
<p>UUID=3C1850B51850703E /media/disk vfat defaults 0 0</p>
<p>Change the defaults to this:</p>
<p>UUID=3C1850B51850703E /media/disk vfat user,uid=1000,utf8 0 0</p>
<p>Where 1000 is your actual userID. We are done, now every time you login the disk will be accessible from your account. In case your disk is NTFS this wont work, but there is another solution which is actually the simpler one:<br />
Configuring through graphical interface</p>
<p>Install ntfs-config by clicking here, or by executing the above command:</p>
<p>sudo apt-get install ntfs-config</p>
<p>Then execute the program by executing:</p>
<p>gksu ntfs-config</p>
<p>Click on both the options, and you are done</p>
]]></content:encoded>
	</item>
</channel>
</rss>

