you are trying to use user debian-transmission. But this will not work, because this user is a service user only, and can’t be used to login. You could try using user dietpi instead
Hi, do you mean dietpi as the user: chmod -r dietpi:dietpi myfolder
dietpi was the original user for myfolder and I had an error on Transmission when downloading to this folder. And when I changed user to debian-transmission it works.
Otherwise, when leaving it as user debian-transmission, and using the command on my pc: sudo sshfs -o allow_other,default_permissions dietpi@192.xxx.x.xxx:/myfolder /mnt/myfolderpc
I receive a message: remote host has disconnected
The user that you provide in ssh command to get the directory over sshfs is not connected to the user who owns the directory. You can still have the debian-transmission as owner of the directory and the dietpi user can be able to read and write as member of the dietpi group.
Then use dietpi user for the sshfs.