<?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: Wine with on-access ClamAV scanning</title>
	<atom:link href="http://blog.burghardt.pl/2007/11/wine-with-on-access-clamav-scanning/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.burghardt.pl/2007/11/wine-with-on-access-clamav-scanning/</link>
	<description>Create. Break. Fix. Repeat.</description>
	<lastBuildDate>Wed, 18 Jan 2012 21:08:18 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Dale</title>
		<link>http://blog.burghardt.pl/2007/11/wine-with-on-access-clamav-scanning/#comment-1223</link>
		<dc:creator>Dale</dc:creator>
		<pubDate>Mon, 21 Mar 2011 02:58:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.burghardt.pl/2007/11/01/wine-with-on-access-clamav-scanning/#comment-1223</guid>
		<description>Hi, been trying to get clamfs working on Ubuntu 10.4. It seems like everything is working, clamfs locates infected files and prevents me from opening these.

But I am having permission troubles with a share that I have created.

My folder structure looks like this:

../.sharedfiles (this is the root directory for clamfs)
../sharedfiles (this is the actual shared folder on the server that my windows clients connect to).

When clamfs is NOT running, I can create and delete folders etc within ../sharedfiles from a windows client.

But when I turn clamfs ON I can only create files and folder immediately within ../sharedfiles.

ie I can create ../sharedfiles/newdirectory

But I can not create ../sharedfiles/newdirectory/somefile

I have played around with the permissions and ACLs but something is just not working.
I should mention that the windows clients are logging into the shared directory without a user. ie they are&quot;nobody&quot; and in the &quot;nogroup&quot; group.

I have set the ACL for both .sharedfiles and sharedfiles as below:

getfacl .sharedfiles/
# file: .sharedfiles/
# owner: administrator
# group: administrator
user::rwx
group::rwx
other::rwx
default:user::rwx
default:user:clamav:rwx
default:group::rwx
default:mask::rwx
default:other::rwx

----------

getfacl sharedfiles/
# file: sharedfiles/
# owner: administrator
# group: administrator
user::rwx
group::rwx
other::rwx
default:user::rwx
default:user:clamav:rwx
default:group::rwx
default:mask::rwx
default:other::rwx


This is how I have configured my clamfs .xml file:

filesystem root=&quot;/home/administrator/.sharedfiles&quot; mountpoint=&quot;/home/administrator/sharedfiles&quot; public=&quot;yes&quot; readonly=&quot;no&quot; nonempty=&quot;yes&quot; 

Any idea on where I am going wrong? I would really like to get this working. Thanks.</description>
		<content:encoded><![CDATA[<p>Hi, been trying to get clamfs working on Ubuntu 10.4. It seems like everything is working, clamfs locates infected files and prevents me from opening these.</p>
<p>But I am having permission troubles with a share that I have created.</p>
<p>My folder structure looks like this:</p>
<p>../.sharedfiles (this is the root directory for clamfs)<br />
../sharedfiles (this is the actual shared folder on the server that my windows clients connect to).</p>
<p>When clamfs is NOT running, I can create and delete folders etc within ../sharedfiles from a windows client.</p>
<p>But when I turn clamfs ON I can only create files and folder immediately within ../sharedfiles.</p>
<p>ie I can create ../sharedfiles/newdirectory</p>
<p>But I can not create ../sharedfiles/newdirectory/somefile</p>
<p>I have played around with the permissions and ACLs but something is just not working.<br />
I should mention that the windows clients are logging into the shared directory without a user. ie they are&#8221;nobody&#8221; and in the &#8220;nogroup&#8221; group.</p>
<p>I have set the ACL for both .sharedfiles and sharedfiles as below:</p>
<p>getfacl .sharedfiles/<br />
# file: .sharedfiles/<br />
# owner: administrator<br />
# group: administrator<br />
user::rwx<br />
group::rwx<br />
other::rwx<br />
default:user::rwx<br />
default:user:clamav:rwx<br />
default:group::rwx<br />
default:mask::rwx<br />
default:other::rwx</p>
<p>&#8212;&#8212;&#8212;-</p>
<p>getfacl sharedfiles/<br />
# file: sharedfiles/<br />
# owner: administrator<br />
# group: administrator<br />
user::rwx<br />
group::rwx<br />
other::rwx<br />
default:user::rwx<br />
default:user:clamav:rwx<br />
default:group::rwx<br />
default:mask::rwx<br />
default:other::rwx</p>
<p>This is how I have configured my clamfs .xml file:</p>
<p>filesystem root=&#8221;/home/administrator/.sharedfiles&#8221; mountpoint=&#8221;/home/administrator/sharedfiles&#8221; public=&#8221;yes&#8221; readonly=&#8221;no&#8221; nonempty=&#8221;yes&#8221; </p>
<p>Any idea on where I am going wrong? I would really like to get this working. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Krzysztof Burghardt</title>
		<link>http://blog.burghardt.pl/2007/11/wine-with-on-access-clamav-scanning/#comment-4</link>
		<dc:creator>Krzysztof Burghardt</dc:creator>
		<pubDate>Sat, 14 Nov 2009 10:57:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.burghardt.pl/2007/11/01/wine-with-on-access-clamav-scanning/#comment-4</guid>
		<description>Just mount ClamFS protected filesystem in &lt;em&gt;/clamfs/mountpoint&lt;/em&gt; and add to &lt;em&gt;smb.conf&lt;/em&gt; something like this:

&lt;code&gt;
[clamfs_protected_share]
	path = /clamfs/mountpoint
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Just mount ClamFS protected filesystem in <em>/clamfs/mountpoint</em> and add to <em>smb.conf</em> something like this:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">[clamfs_protected_share]<br />
&nbsp; &nbsp; path = /clamfs/mountpoint</div></div>
]]></content:encoded>
	</item>
	<item>
		<title>By: RalfG</title>
		<link>http://blog.burghardt.pl/2007/11/wine-with-on-access-clamav-scanning/#comment-3</link>
		<dc:creator>RalfG</dc:creator>
		<pubDate>Wed, 23 Sep 2009 08:08:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.burghardt.pl/2007/11/01/wine-with-on-access-clamav-scanning/#comment-3</guid>
		<description>Hi Krzysztof, thanks a lot for this comprehensive manual! I couldn&#039;t find any better howto on ClamFS so far. So please keep on providing such insights!

I didn&#039;t test with samba, yet, but in case you can provide any smb.conf and so on, I should be delighted.</description>
		<content:encoded><![CDATA[<p>Hi Krzysztof, thanks a lot for this comprehensive manual! I couldn&#8217;t find any better howto on ClamFS so far. So please keep on providing such insights!</p>
<p>I didn&#8217;t test with samba, yet, but in case you can provide any smb.conf and so on, I should be delighted.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan</title>
		<link>http://blog.burghardt.pl/2007/11/wine-with-on-access-clamav-scanning/#comment-2</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Thu, 05 Jun 2008 21:07:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.burghardt.pl/2007/11/01/wine-with-on-access-clamav-scanning/#comment-2</guid>
		<description>Who needs wine? I only use it sparely</description>
		<content:encoded><![CDATA[<p>Who needs wine? I only use it sparely</p>
]]></content:encoded>
	</item>
</channel>
</rss>

