I have a web server running ubuntu and I made the public_html dir different from the standard www directory. I did chown www-data:www-data on the public_html folder (Was that the right thing to do?)
Now when I ftp into the server with my user account, I guess I don't have permission anymore. I can't create a new a file for instance via ftp and in the terminal I get access denied.
What can I do to give my user the appropriate permissions to still create files and do other standard operations? (I wanted to ask so I don't mess up the permissions )