A person installed Nextcloud 16 on an ubuntu 18.04 server for me. I am very new to all this, so I did not understand all that he did. (I am grateful for his help, though.)
My understanding is that the data I put on Nextcloud will reside on that server at /mnt/ncdata . When I ssh into the server and am the user that I created when the ubuntu server was first set up, I am unable to change directories to ncdata using sudo. I get an error message that I do not have permission.
I checked the permissions and ownership on ncdata: xrwxrwxr-x; and, the owner and group are www-data and www-data.
Here are my questions:
How can I get access to that directory ncdata? (I don’t need or intend to do anything within that directory, I just am bothered by the thought that there are parts of my ubuntu system that I do not have access to.)
What is the user www-data? Why was it set up, and what is its function? How do I find out its password?