Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have this directory:

drwxr-x--- 2 root adm 160 2011-08-18 02:13 apache2

Im belonging to the group adm but I can not access to the directory..It says: "Permission denied".

share|improve this question
    
What is the entire path? if it's /home/apache2 you'll need 770 from /home on up. – NickW Jun 14 '13 at 15:30
    
it is /var/log/apache2 – user35538 Jun 14 '13 at 15:30
    
what are you trying to do to the directory? – NickW Jun 14 '13 at 15:32
    
I just want to print the apache log using "tail -f /var/log/apache2/error.log" – user35538 Jun 14 '13 at 15:32
2  
There you are then, it's the permissions on error.log. Try doing sudo ls -all or su'ing up to root – NickW Jun 14 '13 at 15:41
up vote 2 down vote accepted

After you are added to a group, you will need to log out, then in again, or do an su - <yourusername> to get the system to recognize your new privileges.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .