You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mike,
If you execute: $ ls -l /var/log | grep apache2 it will return:
drwxr-x--- 2 root adm 4.0K Jul 10 2015 apache2
You can see that only the root have full access to this folder (rwx) and the group adm can (rx). And others users can't do nothing. If you are not root or do not belongs to adm group you can't do nothing. To check which groups you belongs run this command on the bash: $ groups
The solution for you access the folder and files it's becoming root using sudo: $ sudo su $ cd /var/log/apache2 $ vim access.log
Looking in
/var/logs
I see theapache2
directory but it's locked to a user group thevagrant
user doesn't have access to.The text was updated successfully, but these errors were encountered: