Mailinglist Archive: opensuse-factory (649 mails)

< Previous Next >
Re: [opensuse-factory] clamd
nicholas cunliffe:
try putting sudo in front :)

On 5 August 2017 at 04:19, Patrick Shanahan <paka@xxxxxxxxxxxx> wrote:
* james <james@xxxxxxxxxxxxx> [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@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >