I verified I'm a member of root
:
user_me@host1:~$ sudo useradd -G root user_me
useradd: user 'user_me' already exists
However, I can't cd
to /root/testing
from my user:
user_me@host1:~$ cd /root/testing
-bash: cd: /root/testing: Permission denied
If I sudo su -
into root, I can verify that the folder I'm trying to cd into is owned by root
, and has appropriate permissions.
user_me@host1:~$ sudo su -
Last login: Tue Sep 22 00:23:07 CDT 2015 on pts/1
[root@host1 ~]# ll | grep testing
drwxrwxr-x 2 root root 135 Sep 22 00:20 testing
id user_me
.testing
directory (please don't call it a folder! This is not windows) is accessible, however you've not shown that the same is true for/root
.