spmjs / node-scp2

[MAINTAINER WANTED] A pure javascript scp program based on ssh2.
384 stars 96 forks source link

Clean dirStat when uploading directories #60

Closed pazdera closed 8 years ago

pazdera commented 8 years ago

Hi guys!

I ran into a permission problem when copying directories from my OSX laptop to a remote Debian box. The problem seems to be in that the UID/GID of the local OSX user is different than the one of the remote user that doesn't have permission to use it.

This change adds filtering of the fs.stat() result so only the file mode is propagated.

lepture commented 8 years ago

https://github.com/spmjs/node-scp2/issues/48

would you like to join as a collaborator?

popomore commented 8 years ago

+1