[opensuse-factory] clamd
anyone know how to fix this: how do i do this: The database directory must be writable for UID 1000 or GID 100 ERROR: Can't create temporary directory /var/lib/clamav/clamav-ebe86fe4acceb0022174f7441cc3d376.tmp Hint: The database directory must be writable for UID 1000 or GID 100 trying to run freshclam jim. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
* james <james@insiberia.net> [08-04-17 22:03]:
anyone know how to fix this:
how do i do this: The database directory must be writable for UID 1000 or GID 100 ERROR: Can't create temporary directory /var/lib/clamav/clamav-ebe86fe4acceb0022174f7441cc3d376.tmp Hint: The database directory must be writable for UID 1000 or GID 100
trying to run freshclam
you don't provide the rights for /var/lib/clamav but say who must be able to write there. use chmod to give write rights to <user> (same as uid 1000) or give write rights to <group> and make <user> a member of gid 100. or make <user> or the group "user" the file owner chown logname:user above <user> = logname google for: file rights for clamav provides probably better and more accurate answers. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Registered Linux User #207535 @ http://linuxcounter.net Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
try putting sudo in front :) On 5 August 2017 at 04:19, Patrick Shanahan <paka@opensuse.org> wrote:
* james <james@insiberia.net> [08-04-17 22:03]:
anyone know how to fix this:
how do i do this: The database directory must be writable for UID 1000 or GID 100 ERROR: Can't create temporary directory /var/lib/clamav/clamav-ebe86fe4acceb0022174f7441cc3d376.tmp Hint: The database directory must be writable for UID 1000 or GID 100
trying to run freshclam
you don't provide the rights for /var/lib/clamav but say who must be able to write there. use chmod to give write rights to <user> (same as uid 1000) or give write rights to <group> and make <user> a member of gid 100.
or make <user> or the group "user" the file owner
chown logname:user
above <user> = logname
google for: file rights for clamav provides probably better and more accurate answers.
-- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Registered Linux User #207535 @ http://linuxcounter.net Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
nicholas cunliffe:
try putting sudo in front :)
On 5 August 2017 at 04:19, Patrick Shanahan <paka@opensuse.org> wrote:
* james <james@insiberia.net> [08-04-17 22:03]:
anyone know how to fix this:
how do i do this: The database directory must be writable for UID 1000 or GID 100 ERROR: Can't create temporary directory /var/lib/clamav/clamav-ebe86fe4acceb0022174f7441cc3d376.tmp Hint: The database directory must be writable for UID 1000 or GID 100
trying to run freshclam
you don't provide the rights for /var/lib/clamav but say who must be able to write there. use chmod to give write rights to <user> (same as uid 1000) or give write rights to <group> and make <user> a member of gid 100.
or make <user> or the group "user" the file owner
chown logname:user
above <user> = logname
google for: file rights for clamav provides probably better and more accurate answers.
actually, this worked, courtesy of the above person: chown -R katnip:users /var/lib/clamav thanks :) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 2017-08-05 04:02, james wrote:
anyone know how to fix this:
how do i do this: The database directory must be writable for UID 1000 or GID 100 ERROR: Can't create temporary directory /var/lib/clamav/clamav-ebe86fe4acceb0022174f7441cc3d376.tmp Hint: The database directory must be writable for UID 1000 or GID 100
trying to run freshclam
You don't run "freshclam" yourself. You simply activate a service or a cronjob that does that for you, and already has the appropriate permissions. Telcontar:~ # systemctl status freshclam.service ● freshclam.service - Freshclam virus definitions downloader Loaded: loaded (/usr/lib/systemd/system/freshclam.service; *enabled;* vendor preset: disabled) Active: active (running) since Sat 2017-07-08 18:08:12 CEST; 3 weeks 6 days ago Main PID: 3349 (freshclam) Tasks: 1 (limit: 512) CGroup: /system.slice/freshclam.service └─3349 /usr/bin/freshclam -d And if you need to do it manually, you do it as root. -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar)
participants (4)
-
Carlos E. R.
-
james
-
nicholas cunliffe
-
Patrick Shanahan