<?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"
	>
<channel>
	<title>Comments on: OSX Graceful SMB Dismount (umount)</title>
	<atom:link href="http://www.plasticstare.com/plains/2006/08/16/osx-graceful-smb-dismount-umount/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.plasticstare.com/plains/2006/08/16/osx-graceful-smb-dismount-umount/</link>
	<description></description>
	<pubDate>Tue, 18 Nov 2008 15:12:20 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: ryan</title>
		<link>http://www.plasticstare.com/plains/2006/08/16/osx-graceful-smb-dismount-umount/#comment-175</link>
		<dc:creator>ryan</dc:creator>
		<pubDate>Fri, 25 Aug 2006 23:05:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.plasticstare.com/plains/2006/08/16/osx-graceful-smb-dismount-umount/#comment-175</guid>
		<description>Ah, yes, cool. I actually came to the same conclusion and hadn't followed up yet, although I was not aware of the ability to chmod the directory and its contents -- that's pretty nice. 

The solution that I'm working with temporarily is an applescript application bundle that creates the directory wsd (windows share d) if it doesn't exist (applescript for the existence test because I didn't know the shell command and mkdir + chmod shell commands) and then runs the shell mount_smbfs command. When the directory is mounted, the applescript then pops an alert to let me know when its ready to go. More on this a bit later...</description>
		<content:encoded><![CDATA[<p>Ah, yes, cool. I actually came to the same conclusion and hadn&#8217;t followed up yet, although I was not aware of the ability to chmod the directory and its contents &#8212; that&#8217;s pretty nice. </p>
<p>The solution that I&#8217;m working with temporarily is an applescript application bundle that creates the directory wsd (windows share d) if it doesn&#8217;t exist (applescript for the existence test because I didn&#8217;t know the shell command and mkdir + chmod shell commands) and then runs the shell mount_smbfs command. When the directory is mounted, the applescript then pops an alert to let me know when its ready to go. More on this a bit later&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric</title>
		<link>http://www.plasticstare.com/plains/2006/08/16/osx-graceful-smb-dismount-umount/#comment-174</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Fri, 25 Aug 2006 22:55:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.plasticstare.com/plains/2006/08/16/osx-graceful-smb-dismount-umount/#comment-174</guid>
		<description>You should know who to go to with a question like this...

Mount the volume with a mask that is writable by your logged in user, or create the directory in advance.  For example:

sudo mkdir /Volumes/D$
sudo chmod 777 /Volumes/D$
sudo mount_smbfs -W workgroupname //username@ipaddressofserver/D$ /Volumes/D$

Or, a little cleaner would be this:
sudo mount_smbfs -f 777 -d 777 -W workgroupname //username@ipaddressofserver/D$ /Volumes/D$

Of course, 777 would be more aptly named "666" because you should never really use it, but its a nice quick fix.</description>
		<content:encoded><![CDATA[<p>You should know who to go to with a question like this&#8230;</p>
<p>Mount the volume with a mask that is writable by your logged in user, or create the directory in advance.  For example:</p>
<p>sudo mkdir /Volumes/D$<br />
sudo chmod 777 /Volumes/D$<br />
sudo mount_smbfs -W workgroupname //username@ipaddressofserver/D$ /Volumes/D$</p>
<p>Or, a little cleaner would be this:<br />
sudo mount_smbfs -f 777 -d 777 -W workgroupname //username@ipaddressofserver/D$ /Volumes/D$</p>
<p>Of course, 777 would be more aptly named &#8220;666&#8243; because you should never really use it, but its a nice quick fix.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
