<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Francois,<br>
<br>
The "PrivateTmp" workaround is now in the Installer for you.<br>
But yes, Debian 9 won't suffer the same problem.<br>
<br>
Cheers,<br>
Jules.<br>
<br>
<div class="moz-cite-prefix">On 24/03/2020 18:01, Francois via
ZendTo wrote:<br>
</div>
<blockquote type="cite"
cite="mid:WM!7209654af7cf5a76c41fcdce6af1d3eeb0896954e8748e4c3e7cbf30b436986e5b1cd3958016d2da678673b6b8621e6c!@mx.jul.es">Jules,
<br>
<br>
I'm just reading your message, I'm sorry... In the present context
my users really need a quick exchange solution so I couldn't
investigate longer for this issue. I finally install a Debian 9
machine and it works like a charm.
<br>
<br>
Thanks a lot for your return. May be someone else can test this
"PrivateTmp" setting for you.
<br>
Sorry again, take care.
<br>
<br>
Francois
<br>
<br>
<br>
<br>
<br>
Le 2020-03-24 18:11, Jules a écrit :
<br>
<blockquote type="cite">Francois and others:
<br>
(_JKF — this is for Debian 10 only at this point, no reports of
<br>
similar problems on other systems_)
<br>
<br>
As root, please
<br>
systemctl stop apache2
<br>
mkdir -p /etc/systemd/system/apache2.service.d
<br>
Then create a file in that directory called
"PrivateTmp_zendto.conf"
<br>
In that file, put these 2 lines:
<br>
<br>
[Service]
<br>
PrivateTmp=false
<br>
<br>
then do
<br>
systemctl daemon-reload
<br>
systemctl start apache2
<br>
<br>
And it might now work.
<br>
I've tried all sorts of other nicer workarounds, but this is the
only
<br>
one that appears to work in ZendTo's situation.
<br>
<br>
Please can you give it a try for me?
<br>
<br>
Thanks!
<br>
Jules.
<br>
<br>
On 24/03/2020 08:10, Francois via ZendTo wrote:
<br>
<br>
<blockquote type="cite">Hi Jules,
<br>
<br>
I'm not using the Library of files feature and the parameter
is
<br>
disabled.
<br>
It'a brand new install of ZendTo (Version 5.23-2) so no
radical
<br>
changes yet except the Active Directory authentication
settings.
<br>
<br>
Some discussions from ClamAV users point the Apache
"PrivateTmp"
<br>
variable which seems to prevent other service to access files
they
<br>
put inside. I've disabled it but still getting the same error.
<br>
See here: <a class="moz-txt-link-freetext" href="https://moodle.org/mod/forum/discuss.php?d=364706">https://moodle.org/mod/forum/discuss.php?d=364706</a>
<br>
<br>
Seems to be a ClamAV issue on Debian... I keep on searching.
<br>
<br>
Francois
<br>
<br>
Le 2020-03-23 15:12, Jules a écrit :
<br>
Francois,
<br>
<br>
Judging by the error message, this isn't a normal permissions
issue.
<br>
<br>
You are getting a "Not a regular file" error, which is very
odd
<br>
output
<br>
from ClamAV.
<br>
<br>
If you're using the "Library of files" feature (where you can
choose
<br>
a
<br>
file from a drop-down list as well as upload a new one), that
could
<br>
potentially trigger this. If so, check the read permissions on
all
<br>
the
<br>
files in the "library" as clamd may not be able to read them.
<br>
<br>
Hope that helps,
<br>
Jules.
<br>
<br>
On 22/03/2020 18:23, Francois via ZendTo wrote:
<br>
<br>
Hi all, Hi Jules,
<br>
Hope you're going well.
<br>
<br>
I'm running a fresh ZenTo instance on Debian 10. When
dropping-off a
<br>
<br>
file, I'm getting this error:
<br>
<br>
<br>
</blockquote>
------------------------------------------------------------------------------------------------------------------------
<br>
<blockquote type="cite">
<br>
<br>
Error: Virus scan of dropped-off files
<br>
/var/zendto/incoming/phpr7iV2U for francois.techxa failed with
<br>
/var/zendto/incoming/phpr7iV2U: Not a regular file ERROR
<br>
----------- SCAN SUMMARY ----------- Infected files: 0 Total
errors:
<br>
<br>
1 Time: 0.000 sec (0 m 0 s)
<br>
<br>
<br>
</blockquote>
-----------------------------------------------------------------------------------------------------------------------
<br>
<blockquote type="cite">
<br>
<br>
As said in the FAQ, I've then relaunched the CLAMAV script
<br>
(Ubuntu-Debian/3-clamav.sh) but the issue persists. Here is
the
<br>
output:
<br>
<br>
<br>
</blockquote>
-----------------------------------------------------------------------------------------------------------------------
<br>
<blockquote type="cite">
<br>
<br>
Sun Mar 22 18:22:24 2020 -> ClamAV update process started
at Sun Mar
<br>
<br>
22 18:22:24 2020
<br>
Sun Mar 22 18:22:24 2020 -> daily.cld database is up to
date
<br>
(version: 25759, sigs: 2234135, f-level: 63, builder: raynman)
<br>
Sun Mar 22 18:22:24 2020 -> main.cvd database is up to date
<br>
(version: 59, sigs: 4564902, f-level: 60, builder: sigmgr)
<br>
Sun Mar 22 18:22:24 2020 -> bytecode.cvd database is up to
date
<br>
(version: 331, sigs: 94, f-level: 63, builder: anvilleg)
<br>
Allowing ClamAV to read Apache files
<br>
Allowing ClamAV through AppArmor to read ZendTo uploads
<br>
No need, already done.
<br>
Unloading AppArmor profiles
<br>
[ ok ] Starting apparmor (via systemctl): apparmor.service.
<br>
[ ok ] Reloading apparmor configuration (via systemctl):
<br>
apparmor.service.
<br>
Starting ClamAV and freshclam daemons
<br>
ClamAV has been setup for you to work with ZendTo.
<br>
<br>
<br>
</blockquote>
-----------------------------------------------------------------------------------------------------------------------
<br>
<blockquote type="cite">
<br>
<br>
Any idea on what I'm supposed to do now ?
<br>
Could someone also show me his ownership and permissions
settings on
<br>
<br>
the "/var/zendto/incoming" folder just to compare ?
<br>
<br>
Thank you in advance and take care.
<br>
<br>
Francois
<br>
<br>
_______________________________________________
<br>
ZendTo mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:ZendTo@zend.to">ZendTo@zend.to</a>
<br>
<a class="moz-txt-link-freetext" href="http://jul.es/mailman/listinfo/zendto">http://jul.es/mailman/listinfo/zendto</a>
<br>
<br>
Jules
<br>
<br>
--
<br>
Julian Field MEng CEng CITP MBCS MIEEE MACM
<br>
<br>
'A committee is a group of the unwilling, chosen from the
unfit,
<br>
to do the unnecessary.' - Anon
<br>
<br>
<a class="moz-txt-link-abbreviated" href="http://www.Zend.To">www.Zend.To</a> [1] [1]
<br>
Twitter: @JulesFM
<br>
<br>
Links:
<br>
------
<br>
[1] <a class="moz-txt-link-freetext" href="http://www.Zend.To">http://www.Zend.To</a>
<br>
</blockquote>
<br>
_______________________________________________
<br>
ZendTo mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:ZendTo@zend.to">ZendTo@zend.to</a>
<br>
<a class="moz-txt-link-freetext" href="http://jul.es/mailman/listinfo/zendto">http://jul.es/mailman/listinfo/zendto</a>
<br>
<br>
Jules
<br>
<br>
--
<br>
Julian Field MEng CEng CITP MBCS MIEEE MACM
<br>
<br>
The current UK shipping forecast:
<br>
Sole: South 4 to 6, occasionally 3 in east. Rough, occasionally
very
<br>
rough in
<br>
west. Occasional rain, mist. Moderate or good, occasionally
poor.
<br>
<br>
<a class="moz-txt-link-abbreviated" href="http://www.Zend.To">www.Zend.To</a> [1]
<br>
Twitter: @JulesFM
<br>
<br>
<br>
<br>
Links:
<br>
------
<br>
[1] <a class="moz-txt-link-freetext" href="http://www.Zend.To">http://www.Zend.To</a>
<br>
</blockquote>
<br>
_______________________________________________
<br>
ZendTo mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:ZendTo@zend.to">ZendTo@zend.to</a>
<br>
<a class="moz-txt-link-freetext" href="http://jul.es/mailman/listinfo/zendto">http://jul.es/mailman/listinfo/zendto</a>
<br>
</blockquote>
<br>
<pre class="moz-signature" cols="72">Jules
--
Julian Field MEng CEng CITP MBCS MIEEE MACM
'It's in Apple's DNA that technology alone is not enough. It's
technology married with liberal arts, married with the humanities,
that yields us the result that makes our hearts sing.' - Steve Jobs
<a class="moz-txt-link-abbreviated" href="http://www.Zend.To">www.Zend.To</a>
Twitter: @JulesFM
</pre>
</body>
</html>