0

I'm using an ubuntu VM machine on Azure. The goal is to allow user1 to to upload files to /folder1/folder2 through a scp command. Right now I get Permission denied.

I run the commands directly on the VM in azure. whoami results in root.

I have run

But when I run

  • ls -l /folder1/folder2 to view permissions, nothing has changed and user1 still doesn't have permission to transfer the file.

I have no idea what I'm doing wrong. The commands all seem to be successful when running them as root.

Mumfi
  • 101

0 Answers0