appleboy / scp-action

GitHub Action that copy files and artifacts via SSH.
https://github.com/marketplace/actions/scp-command-to-transfer-files
MIT License
1.14k stars 134 forks source link

[Error]: Permission denied when manipulating files #134

Open pepedd864 opened 11 months ago

pepedd864 commented 11 months ago

When I manipulate the file, there is a permission denial issue image I use an azure virtual machine, I need to prefix sudo when manipulating files, but I don't need to enter a password

atazangene commented 9 months ago

I have the same problem here.... image

atazangene commented 9 months ago

@pepedd864 did you find any solution for this?

blacknikka commented 7 months ago

@atazangene I had a same issue. In my case, it was related to directory owner of target on the target host.

The owner of target directory was root, so Actions didn't work.

Hamziss commented 4 months ago

@atazangene I had a same issue. In my case, it was related to directory owner of target on the target host.

The owner of target directory was root, so Actions didn't work.

i have the same issue how did you gave perms to actions