[SOLVED] Why am I not able to read or operate on this directory?
by wh33t from LinuxQuestions.org on (#588X7)
Code:wh33t@wh33tcloud:/var/www/wh33tcloud$ ls -l
total 4
drwxrwx--- 6 www-data www-data 4096 Sep 17 03:18 dataCode:wh33t@wh33tcloud:/var/www/wh33tcloud$ groups wh33t
wh33t : wh33t adm cdrom sudo dip www-data plugdev lxdCode:wh33t@wh33tcloud:/var/www/wh33tcloud$ ls data/
ls: cannot open directory 'data/': Permission deniedI am clearly in the group for www-data, and the www-data group is to read write and execute, right?
Edit:
Apparently I just needed to logout and then back in. Works now!


total 4
drwxrwx--- 6 www-data www-data 4096 Sep 17 03:18 dataCode:wh33t@wh33tcloud:/var/www/wh33tcloud$ groups wh33t
wh33t : wh33t adm cdrom sudo dip www-data plugdev lxdCode:wh33t@wh33tcloud:/var/www/wh33tcloud$ ls data/
ls: cannot open directory 'data/': Permission deniedI am clearly in the group for www-data, and the www-data group is to read write and execute, right?
Edit:
Apparently I just needed to logout and then back in. Works now!