Root User using Freshclam command cannot write to directory.
When I log on a root and attempt to issue the command ‘Freshclam’ to upgrade the virus definitions it attempts or create a new file with a definition name.
I get a message stating that the directory isn’t writable. The user and group access rights are as follows: USER = read, write, execute Group = read, write, execute All = read, execute. The only way I can get around this is by applying a 777 which would be read, write and execute for all. Now, I have a group define with several user ids in it including Root. How do I connect the group with the directory/file so I don’t have to apply a 777 access right to group users could issue the Freshclam command. Thanks |
Be a lot more specific. What directory? Could you post the `ls -ld` of it? Can you post the exact command and output you are getting? Is it on an NFS mount?
|
root@centos5 /]# pwd
/ [root@centos5 /]# whoami root [root@centos5 /]# freshclam ERROR: Can't create temporary directory /var/clamav/clamav-97998fc1d9175dafdb450ff5894d83c9 Hint: The database directory must be writable for UID 102 or GID 103 [root@centos5 /]# in directory VAR drwxr-xr-x 7 clamav clamav 4096 Jan 6 21:07 clamav I'm doing this as my user id and SU to root. How would I get UID 102 and or GID writable in this case. I have UID 102 in several groups where CLAMAV is listed ... also user root. any help will be appreciated. |
All times are GMT -5. The time now is 03:18 PM. |