How to allow user to access all ftp directories?

cn flag

How can i allow user on VM to access every directories? For example, i use ssh kay to access to FTP, User name is ubuntu and when i try to access to a specific directory it returns: Directory /home/admin/web/hostname.domain.tld: permission denied

I tried to allow access with following command: usermod --home /home/admin/web ubuntu

But it returns:

usermod: user ubuntu is currently used by process 59289
cocomac avatar
cn flag
What version of Ubuntu do you have? You tagged your question as 14.04, but that's a very old release, and so if you're using that, you should use a supported release (e.g., 20.04 LTS) if you can
aeroooo avatar
cn flag
it is 18.04 sorry

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.