I searched the forum but I didn't find quite what I was looking for.
What I'm wanting to do is change the permissions in my folders/files and change them only for myself so I don't accidentally leave them vulnerable to the public.
I read documentation on the different permissions, but I'm getting my syntax wrong or something.
Here's what I am trying.
chmod david+rwx php.ini
chmod david+rwx /htdocs/
I also tried assigning my user david to the group root, but had no success. When I check, it says david is in group david and I can't get it to change. I am logged in as root too by the way using su root.