<?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>Richard Walker :: Brisbane IT Professional (Infrastructure / Web) &#187; cifs</title>
	<atom:link href="http://www.richardwalker.com.au/tag/cifs/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.richardwalker.com.au</link>
	<description></description>
	<lastBuildDate>Mon, 07 Jun 2010 10:06:34 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>mount.cifs and permissions problems under ubuntu  linux</title>
		<link>http://www.richardwalker.com.au/2008/12/02/mountcifs-and-permissions-problems-under-ubuntu-linux/</link>
		<comments>http://www.richardwalker.com.au/2008/12/02/mountcifs-and-permissions-problems-under-ubuntu-linux/#comments</comments>
		<pubDate>Tue, 02 Dec 2008 04:28:41 +0000</pubDate>
		<dc:creator>Richard Walker</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[cifs]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[troubleshooting]]></category>

		<guid isPermaLink="false">http://www.richardwalker.com.au/?p=15</guid>
		<description><![CDATA[Having issues with mount.cifs and permissions? Read on.....]]></description>
			<content:encoded><![CDATA[<p>Recently, I&#8217;ve had an issue using mount.cifs from the command line in linux to mount shares, on Ubuntu Linux (as a client).</p>
<p>The problem was, mounting a samba share using CIFS and using only the samba username/password would render the entire mount unwriteable, except by root.</p>
<p>The dead simple solution to this is as follows.</p>
<p>Instead of doing just this:</p>
<blockquote><p>mount.cifs //&lt;server&gt;/&lt;share&gt; -ouser=&lt;username&gt;,pass=&lt;password&gt;</p></blockquote>
<p>Try this:</p>
<blockquote><p>mount.cifs //&lt;server&gt;/&lt;share&gt; -ouid=&lt;localuser&gt;,gid=&lt;localgroup&gt;,user=&lt;username&gt;,pass=&lt;password&gt;</p></blockquote>
<p>So if your samba username is joe.bloggs, and your username and group on your local machine are just &#8220;joe&#8221;, you&#8217;d do this:</p>
<blockquote><p>mount.cifs //&lt;server&gt;/&lt;share&gt; -ouid=joe,gid=joe,user=joe.bloggs,pass=&lt;password&gt;</p></blockquote>
<p>This simply tells CIFS that user &#8216;joe&#8217; on the local machine should be the owner of the mounted share, and then subject to whatever permissions the samba server has set.</p>
<p>Easy as!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.richardwalker.com.au/2008/12/02/mountcifs-and-permissions-problems-under-ubuntu-linux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
