A
A
Anton Essential2014-10-05 01:16:55
SSH
Anton Essential, 2014-10-05 01:16:55

How to change sshfs permissions?

Good, recently downloaded from here: tyts , osxfuse and sshfs.
My goal was to optimize the process of editing files, downloaded bitrixvm on centos.
I started the machine, installed osxfuse sshfs, indicated the path to the directory and on this finito.
When I try to contact the catalog, it says that I do not have rights. Permission denied
Did this: sudo sshfs [email protected]:/home/bitrix/www/ /Users/murat/Documents/htdocs/sublime\ sftp/bork
and so sudo sshfs -o allow_other [email protected]:/home/ bitrix/www/ /Users/murat/Documents/htdocs/sublime\ sftp/bork, it doesn’t work either way, maybe you need to change something in the config files ssh, fuse locally and in the virtual machine, I have never worked with the server, I’m just starting.
Please tell me how to solve this.
Previously I used sublime with sftp palgin, I didn’t really like it, I found an article on Habré , I decided to test it on the last comment, maybe give an objective assessment of this method.
Screen

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Power, 2014-10-05
@Power

Firstly, sshfs is userspace, so you need to mount it as the user who will use it (sorry for the tautology), and not as root.
Secondly, in order for the rights to be applied more or less correctly, you need to specify the option
sshfs -o idmap=user

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question