winfsp / sshfs-win

SSHFS For Windows
https://winfsp.dev
Other
5.07k stars 254 forks source link

777 permission is not set by default. How to set it ?? #392

Open GTX6717 opened 1 year ago

GTX6717 commented 1 year ago

Hi, when I use your software to stransfert any files to my server using sshfs-win the file don;t have 777 permission and I can't use it for my system. Is there an issue to set the 777 permission for the protocol like a software like file zilla ? sdfddfs

safirex commented 1 year ago

I have been testing around test if i could get the same issue with user created files but couldn't, even with files with 700 ( user-only ) permissions then copied into windows work as intended meaning that the problem probably isn't caused by the file permissions not being 777. in your place i would start by checking if the distant user you ssh into has the rights to use the files. but if you really need them to 777, you would need to connect to the distant user then use chmod 777 (supposing its a linux machine)

GTX6717 commented 1 year ago

I have been testing around test if i could get the same issue with user created files but couldn't, even with files with 700 ( user-only ) permissions then copied into windows work as intended meaning that the problem probably isn't caused by the file permissions not being 777.

in your place i would start by checking if the distant user you ssh into has the rights to use the files.

but if you really need them to 777, you would need to connect to the distant user then use chmod 777 (supposing its a linux machine)

I am using root user so I have a master access to the server