LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 01-25-2012, 12:16 PM   #1
swamprat
Member
 
Registered: Sep 2005
Location: New Jersey, (Which Exit LOL), USA
Distribution: Centos 6.7 Under VMware in Win7
Posts: 436

Rep: Reputation: 33
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.

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

Rep: Reputation: 476Reputation: 476Reputation: 476Reputation: 476Reputation: 476
@ 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:

1.
Code:
chown -R nobody:groupname_correponding_to_gid_103 /var/clamav
2.
Code:
chmod -R 070 /var/clamav
 
  


Reply


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 12:07 PM
How to give access rights to one group to the home-dirs of another group Peter@KKVS Linux - Networking 2 11-09-2006 01:38 AM
no access to devices with group access rights flipper333 Debian 2 12-28-2004 10:25 AM
Giving Permissions to a group.... ewhazelwood Linux - General 1 12-07-2004 03:26 PM
giving users and group permission on proftp kafnir Linux - Networking 1 06-07-2004 09:38 AM


All times are GMT -5. The time now is 06:27 PM.

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