I have done the follow:
- chown'd it to a group
- chmod 775
- usermod
this is the status of the permission drwxrwxr-x 3 root www-data 4096 Mar 22 23:11 html
The groups my user is in ubuntu : ubuntu adm dialout cdrom floppy sudo audio dip www-data video plugdev netdev lxd
But if I do touch test
it just gives me a permission denied. Am I missing something.
As for a little background, I'm running a Ubuntu server on AWS. I'm also trying to give my apache user writing permission in the html folder.
www-data
group should have full permission – A. L Mar 24 '17 at 00:19touch test
are you sure the directory is correct? Have you tried a full path? – Stephen Rauch Mar 24 '17 at 00:21www-data
to the groups your user belongs to? See http://unix.stackexchange.com/q/6387/203203 – xhienne Mar 24 '17 at 01:13