<?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: Automatically Mounting WebDAV in Ubuntu with a FuseDAV Init Script</title>
	<atom:link href="http://jamietalbot.com/2010/01/27/automatically-mounting-webdav-in-ubuntu-with-a-fusedav-init-script/feed/" rel="self" type="application/rss+xml" />
	<link>http://jamietalbot.com/2010/01/27/automatically-mounting-webdav-in-ubuntu-with-a-fusedav-init-script/</link>
	<description>Adventures in Engrish</description>
	<lastBuildDate>Wed, 25 Jan 2012 21:44:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Jamie Talbot</title>
		<link>http://jamietalbot.com/2010/01/27/automatically-mounting-webdav-in-ubuntu-with-a-fusedav-init-script/comment-page-1/#comment-228</link>
		<dc:creator>Jamie Talbot</dc:creator>
		<pubDate>Thu, 28 Jul 2011 13:45:00 +0000</pubDate>
		<guid isPermaLink="false">http://jamietalbot.com/?p=6#comment-228</guid>
		<description>Hi,

Yeah, it&#039;s not perfect.  As I note above, because you type the password on the command line it is plainly visible in many ways - even htop will reveal it.  I&#039;m not aware at the moment of anyway of calling fusedav without specifying a password.  Would be happy to hear otherwise.

As for permissions, off the top of my head, you could create a low privilege account and give it ownership of the mount.  Then, instead of using sudo the command in the init script, use su newaccountname -c &#039;fusedav ...&#039; 

I haven&#039;t tried this however.

Hope this helps somewhat.

Cheers,

Jamie.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Yeah, it&#8217;s not perfect.  As I note above, because you type the password on the command line it is plainly visible in many ways &#8211; even htop will reveal it.  I&#8217;m not aware at the moment of anyway of calling fusedav without specifying a password.  Would be happy to hear otherwise.</p>
<p>As for permissions, off the top of my head, you could create a low privilege account and give it ownership of the mount.  Then, instead of using sudo the command in the init script, use su newaccountname -c &#8216;fusedav &#8230;&#8217; </p>
<p>I haven&#8217;t tried this however.</p>
<p>Hope this helps somewhat.</p>
<p>Cheers,</p>
<p>Jamie.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Curious</title>
		<link>http://jamietalbot.com/2010/01/27/automatically-mounting-webdav-in-ubuntu-with-a-fusedav-init-script/comment-page-1/#comment-227</link>
		<dc:creator>Curious</dc:creator>
		<pubDate>Thu, 28 Jul 2011 12:05:00 +0000</pubDate>
		<guid isPermaLink="false">http://jamietalbot.com/?p=6#comment-227</guid>
		<description>Interesting article. Thanks for the pointers. Seems to work ok. A couple of issues: 

ps -ef &#124; grep fuse

reveals the username and password of the dav share to all users. Not so secure.

Also, I&#039;d be interested to know if you have ideas for managing permissions on the local mount so that an ordinary user might be allowed access?

Thanks again.</description>
		<content:encoded><![CDATA[<p>Interesting article. Thanks for the pointers. Seems to work ok. A couple of issues: </p>
<p>ps -ef | grep fuse</p>
<p>reveals the username and password of the dav share to all users. Not so secure.</p>
<p>Also, I&#8217;d be interested to know if you have ideas for managing permissions on the local mount so that an ordinary user might be allowed access?</p>
<p>Thanks again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Automatically Mounting WebDAV in Ubuntu with a FuseDAV Init Script &#124; TurboLinux Blog</title>
		<link>http://jamietalbot.com/2010/01/27/automatically-mounting-webdav-in-ubuntu-with-a-fusedav-init-script/comment-page-1/#comment-219</link>
		<dc:creator>Automatically Mounting WebDAV in Ubuntu with a FuseDAV Init Script &#124; TurboLinux Blog</dc:creator>
		<pubDate>Tue, 21 Jun 2011 11:59:17 +0000</pubDate>
		<guid isPermaLink="false">http://jamietalbot.com/?p=6#comment-219</guid>
		<description>[...] Here is a good tutorial show you how to Automatically Mounting WebDAV in Ubuntu with a FuseDAV Init Script:  the face of it, davfs2 is more convenient, as it allows you to automount quite easily using fstab. However, despite a number of attempts, I couldn’t convince it to allow me to write files remotely, only folders. It seems a number of people have had the same issue. [...]</description>
		<content:encoded><![CDATA[<p>[...] Here is a good tutorial show you how to Automatically Mounting WebDAV in Ubuntu with a FuseDAV Init Script:  the face of it, davfs2 is more convenient, as it allows you to automount quite easily using fstab. However, despite a number of attempts, I couldn’t convince it to allow me to write files remotely, only folders. It seems a number of people have had the same issue. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Prosper</title>
		<link>http://jamietalbot.com/2010/01/27/automatically-mounting-webdav-in-ubuntu-with-a-fusedav-init-script/comment-page-1/#comment-185</link>
		<dc:creator>Prosper</dc:creator>
		<pubDate>Sun, 20 Feb 2011 19:29:00 +0000</pubDate>
		<guid isPermaLink="false">http://jamietalbot.com/?p=6#comment-185</guid>
		<description>Thanks a lot. This really saved my day.I had but one inconvenience and that is that the share was only readable by root. Since I do not like running Nautilus as root, I removed the script from startup and start it manually as a normal user. Of course, I had to change permissions on the file with the URL and password information, but it is reasonably well hidden. In order to create the .pid file I also had to make /var/run writable.</description>
		<content:encoded><![CDATA[<p>Thanks a lot. This really saved my day.I had but one inconvenience and that is that the share was only readable by root. Since I do not like running Nautilus as root, I removed the script from startup and start it manually as a normal user. Of course, I had to change permissions on the file with the URL and password information, but it is reasonably well hidden. In order to create the .pid file I also had to make /var/run writable.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jamie Talbot</title>
		<link>http://jamietalbot.com/2010/01/27/automatically-mounting-webdav-in-ubuntu-with-a-fusedav-init-script/comment-page-1/#comment-183</link>
		<dc:creator>Jamie Talbot</dc:creator>
		<pubDate>Thu, 10 Feb 2011 23:26:00 +0000</pubDate>
		<guid isPermaLink="false">http://jamietalbot.com/?p=6#comment-183</guid>
		<description>Hi Andras,

Couple of things to try. Firstly, try the script exactly as is (i.e., without renaming bingo) and see if that works. If that works then you can move onto renaming. Have you granted +x permissions on /etc/init.d/your-name ? Have you changed $NAME in /etc/init.d/your-name to &#039;your-name&#039;?

The final code block in the post shows an example of how to take a working mount definition &#039;bingo&#039; and copy it to create another one. Did that work? If you don&#039;t want the bingo script lying around, you can use &#039;mv&#039; instead of &#039;cp&#039; on the first line.

Hope that helps a bit...</description>
		<content:encoded><![CDATA[<p>Hi Andras,</p>
<p>Couple of things to try. Firstly, try the script exactly as is (i.e., without renaming bingo) and see if that works. If that works then you can move onto renaming. Have you granted +x permissions on /etc/init.d/your-name ? Have you changed $NAME in /etc/init.d/your-name to &#8216;your-name&#8217;?</p>
<p>The final code block in the post shows an example of how to take a working mount definition &#8216;bingo&#8217; and copy it to create another one. Did that work? If you don&#8217;t want the bingo script lying around, you can use &#8216;mv&#8217; instead of &#8216;cp&#8217; on the first line.</p>
<p>Hope that helps a bit&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andras</title>
		<link>http://jamietalbot.com/2010/01/27/automatically-mounting-webdav-in-ubuntu-with-a-fusedav-init-script/comment-page-1/#comment-179</link>
		<dc:creator>Andras</dc:creator>
		<pubDate>Tue, 08 Feb 2011 15:40:00 +0000</pubDate>
		<guid isPermaLink="false">http://jamietalbot.com/?p=6#comment-179</guid>
		<description>Great post. 
I tried mount.cifs, davfs2, all of them gave me heart ache.  Followed you post, was easy and looks like it works. I have run into one problem and not sure if I can ignore it:
after executing the : su /etc/init.d/bingo   start #(I changed the name from bingo...)
got the following error msg: Unkown id: /etc/init.d/bingo

checked the var/run  directory &gt; there is no bingo.pid file
checked the script and it says in the start section: and it the PID file does not exist it should create it. Do you have any idea what is wrong?

thanks
Andras

do_start()
{
	# Return
	start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --test &gt; /dev/null 
		&#124;&#124; return 1
	
	set -- $(cat ${MOUNT_FILE})
	URI=$1
	USERNAME=$2
	PASSWORD=$3

	DAEMON_ARGS=&quot;-u $USERNAME -p $PASSWORD $URI $MOUNT_POINT&quot;

	start-stop-daemon --start --quiet --pidfile $PIDFILE --background --make-pidfile --exec $DAEMON -- 
		$DAEMON_ARGS 
		&#124;&#124; return 2 
}

</description>
		<content:encoded><![CDATA[<p>Great post.<br />
I tried mount.cifs, davfs2, all of them gave me heart ache.  Followed you post, was easy and looks like it works. I have run into one problem and not sure if I can ignore it:<br />
after executing the : su /etc/init.d/bingo   start #(I changed the name from bingo&#8230;)<br />
got the following error msg: Unkown id: /etc/init.d/bingo</p>
<p>checked the var/run  directory &gt; there is no bingo.pid file<br />
checked the script and it says in the start section: and it the PID file does not exist it should create it. Do you have any idea what is wrong?</p>
<p>thanks<br />
Andras</p>
<p>do_start()<br />
{<br />
	# Return<br />
	start-stop-daemon &#8211;start &#8211;quiet &#8211;pidfile $PIDFILE &#8211;exec $DAEMON &#8211;test &gt; /dev/null<br />
		|| return 1</p>
<p>	set &#8212; $(cat ${MOUNT_FILE})<br />
	URI=$1<br />
	USERNAME=$2<br />
	PASSWORD=$3</p>
<p>	DAEMON_ARGS=&#8221;-u $USERNAME -p $PASSWORD $URI $MOUNT_POINT&#8221;</p>
<p>	start-stop-daemon &#8211;start &#8211;quiet &#8211;pidfile $PIDFILE &#8211;background &#8211;make-pidfile &#8211;exec $DAEMON &#8212;<br />
		$DAEMON_ARGS<br />
		|| return 2<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jamie Talbot</title>
		<link>http://jamietalbot.com/2010/01/27/automatically-mounting-webdav-in-ubuntu-with-a-fusedav-init-script/comment-page-1/#comment-49</link>
		<dc:creator>Jamie Talbot</dc:creator>
		<pubDate>Sat, 29 May 2010 04:38:13 +0000</pubDate>
		<guid isPermaLink="false">http://jamietalbot.com/?p=6#comment-49</guid>
		<description>Hi Jerome,&lt;br&gt;&lt;br&gt;Don&#039;t know the answer to this I&#039;m afraid - I noticed the same thing, but as I was the only user of the box it wasn&#039;t too much of an issue for me.  If you find out though, please let me know!</description>
		<content:encoded><![CDATA[<p>Hi Jerome,</p>
<p>Don&#39;t know the answer to this I&#39;m afraid &#8211; I noticed the same thing, but as I was the only user of the box it wasn&#39;t too much of an issue for me.  If you find out though, please let me know!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jerome</title>
		<link>http://jamietalbot.com/2010/01/27/automatically-mounting-webdav-in-ubuntu-with-a-fusedav-init-script/comment-page-1/#comment-48</link>
		<dc:creator>Jerome</dc:creator>
		<pubDate>Thu, 27 May 2010 19:54:23 +0000</pubDate>
		<guid isPermaLink="false">http://jamietalbot.com/?p=6#comment-48</guid>
		<description>Thank you for this post! This is exactly what I wanted. My only issue is that the FuseDAV drive is mounted with root:root as the owner and group and when I attempt to &quot;chown it&quot; I get an error. Is there a way for this to be mounted with root:users as the owner and group?</description>
		<content:encoded><![CDATA[<p>Thank you for this post! This is exactly what I wanted. My only issue is that the FuseDAV drive is mounted with root:root as the owner and group and when I attempt to &#8220;chown it&#8221; I get an error. Is there a way for this to be mounted with root:users as the owner and group?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

