Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-25-2012, 11:16 AM   #1
Registered: Sep 2005
Location: New Jersey, USA
Distribution: Centos 7 , Linux Mint 18.1 Under VMware in Win7
Posts: 496

Rep: Reputation: 34
Giving all access to group.

I'm trying to update Clamav using the Freshclam command while logged on to user Root.

I'm getting the following message.

root@centos5 ~]# freshclam
ERROR: Can't create temporary directory /var/clamav/clamav-85f86c1bad04f693daff57c53b8e87de
Hint: The database directory must be writable for UID 102 or GID 103
[root@centos5 ~]#

How do I give just GID 103 the access needed.

Old 01-25-2012, 02:39 PM   #2
Senior Member
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
@ Reply

Hi swamprat,

As far as I know you cannot mention gid and uid in chown or chmod command. So you have to find out the group name corresponding to gid 103. Once you found that you can run the following commands:

chown -R nobody:groupname_correponding_to_gid_103 /var/clamav
chmod -R 070 /var/clamav


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Giving user/group permissions to read&write Windows partitions? zaqwe Slackware 3 08-26-2007 11:07 AM
How to give access rights to one group to the home-dirs of another group Peter@KKVS Linux - Networking 2 11-09-2006 12:38 AM
no access to devices with group access rights flipper333 Debian 2 12-28-2004 09:25 AM
Giving Permissions to a group.... ewhazelwood Linux - General 1 12-07-2004 02:26 PM
giving users and group permission on proftp kafnir Linux - Networking 1 06-07-2004 08:38 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:33 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration