SSHFS no write permissions - Yosemite

350 views
Skip to first unread message

Jack S.

unread,
Oct 24, 2014, 11:34:22 PM10/24/14
to osxfus...@googlegroups.com
I'm unable to create or delete any files on a SSHFS volume mounted on a Yosemite client.  I've tried it on SSHFS 2.4 with OSXFUSE 2.7.1 as well as SSHFS 2.5.0 with OSXFUSE 2.7.2.  I can mount the remote file system without a problem, but it won't let me write to it.  I'm able to write to it without issues when I mount it on other systems (Linux & FreeBSD) vis SSHFS.  I'm using the same command and credentials on all the systems.
When I enable SSHFS debugging on the Yosemite machine, I see the following errors:

debug1: Authentication succeeded (keyboard-interactive).
Authenticated to server ([172.16.0.2]:22).
debug1: channel 0: new [client-session]
debug1: Requesting no-more-...@openssh.com
debug1: Entering interactive session.
debug1: Sending environment.
debug1: Sending subsystem: sftp
Server version: 3
Extension: posix-...@openssh.com <1>
Extension: sta...@openssh.com <2>
Extension: fsta...@openssh.com <2>
unique: 0, opcode: INIT (26), nodeid: 0, insize: 56
INIT: 7.8
flags=0x00000000
max_readahead=0x00100000
remote_uid = 0
   INIT: 7.8
   flags=0x00000000
   max_readahead=0x00100000
   max_write=0x01000000
   unique: 0, error: 0 (Undefined error: 0), outsize: 40
unique: 0, opcode: STATFS (17), nodeid: 1, insize: 40
[00002] EXTENDED
  [00002] EXTENDED_REPLY       97bytes (0ms)
   unique: 0, error: 0 (Undefined error: 0), outsize: 96
unique: 0, opcode: STATFS (17), nodeid: 1, insize: 40
[00003] EXTENDED
  [00003] EXTENDED_REPLY       97bytes (0ms)
   unique: 0, error: 0 (Undefined error: 0), outsize: 96
unique: 0, opcode: STATFS (17), nodeid: 1, insize: 40
[00004] EXTENDED
unique: 1, opcode: STATFS (17), nodeid: 1, insize: 40
[00005] EXTENDED
  [00004] EXTENDED_REPLY       97bytes (1ms)
  [00005] EXTENDED_REPLY       97bytes (1ms)
   unique: 0, error: 0 (Undefined error: 0), outsize: 96
   unique: 1, error: 0 (Undefined error: 0), outsize: 96
unique: 0, opcode: STATFS (17), nodeid: 1, insize: 40
[00006] EXTENDED
unique: 1, opcode: STATFS (17), nodeid: 1, insize: 40
[00007] EXTENDED
unique: 2, opcode: STATFS (17), nodeid: 1, insize: 40
[00008] EXTENDED
unique: 3, opcode: STATFS (17), nodeid: 1, insize: 40
[00009] EXTENDED
unique: 4, opcode: STATFS (17), nodeid: 1, insize: 40
[00010] EXTENDED
unique: 5, opcode: STATFS (17), nodeid: 1, insize: 40
[00011] EXTENDED
unique: 6, opcode: STATFS (17), nodeid: 1, insize: 40
[00012] EXTENDED
  [00006] EXTENDED_REPLY       97bytes (1ms)
  [00007] EXTENDED_REPLY       97bytes (1ms)
  [00008] EXTENDED_REPLY       97bytes (1ms)
  [00009] EXTENDED_REPLY       97bytes (1ms)
unique: 7, opcode: ACCESS (34), nodeid: 1, insize: 48
ACCESS / 00
   unique: 7, error: -78 (Function not implemented), outsize: 16
   unique: 0, error: 0 (Undefined error: 0), outsize: 96
unique: 7, opcode: GETATTR (3), nodeid: 1, insize: 40
[00013] LSTAT
   unique: 1, error: 0 (Undefined error: 0), outsize: 96
   unique: 2, error: 0 (Undefined error: 0), outsize: 96
   unique: 3, error: 0 (Undefined error: 0), outsize: 96
  [00010] EXTENDED_REPLY       97bytes (1ms)
  [00011] EXTENDED_REPLY       97bytes (0ms)
  [00012] EXTENDED_REPLY       97bytes (0ms)
   unique: 4, error: 0 (Undefined error: 0), outsize: 96
   unique: 5, error: 0 (Undefined error: 0), outsize: 96
   unique: 6, error: 0 (Undefined error: 0), outsize: 96
  [00013]          ATTRS       41bytes (0ms)
   unique: 7, error: 0 (Undefined error: 0), outsize: 128
unique: 0, opcode: STATFS (17), nodeid: 1, insize: 40
[00014] EXTENDED
  [00014] EXTENDED_REPLY       97bytes (0ms)
   unique: 0, error: 0 (Undefined error: 0), outsize: 96
unique: 1, opcode: STATFS (17), nodeid: 1, insize: 40
[00015] EXTENDED
unique: 2, opcode: STATFS (17), nodeid: 1, insize: 40
[00016] EXTENDED
unique: 3, opcode: STATFS (17), nodeid: 1, insize: 40
[00017] EXTENDED
unique: 4, opcode: STATFS (17), nodeid: 1, insize: 40
[00018] EXTENDED
unique: 5, opcode: STATFS (17), nodeid: 1, insize: 40
[00019] EXTENDED
unique: 6, opcode: STATFS (17), nodeid: 1, insize: 40
[00020] EXTENDED
unique: 7, opcode: STATFS (17), nodeid: 1, insize: 40
[00021] EXTENDED
unique: 0, opcode: STATFS (17), nodeid: 1, insize: 40
[00022] EXTENDED
  [00015] EXTENDED_REPLY       97bytes (0ms)
  [00016] EXTENDED_REPLY       97bytes (0ms)
   unique: 1, error: 0 (Undefined error: 0), outsize: 96
   unique: 2, error: 0 (Undefined error: 0), outsize: 96
  [00017] EXTENDED_REPLY       97bytes (0ms)
  [00018] EXTENDED_REPLY       97bytes (0ms)
   unique: 3, error: 0 (Undefined error: 0), outsize: 96
unique: 1, opcode: STATFS (17), nodeid: 1, insize: 40
[00023] EXTENDED
unique: 2, opcode: STATFS (17), nodeid: 1, insize: 40
[00024] EXTENDED
   unique: 4, error: 0 (Undefined error: 0), outsize: 96
  [00019] EXTENDED_REPLY       97bytes (0ms)
  [00020] EXTENDED_REPLY       97bytes (0ms)
  [00021] EXTENDED_REPLY       97bytes (0ms)
   unique: 5, error: 0 (Undefined error: 0), outsize: 96
unique: 3, opcode: STATFS (17), nodeid: 1, insize: 40
[00025] EXTENDED
   unique: 6, error: 0 (Undefined error: 0), outsize: 96
   unique: 7, error: 0 (Undefined error: 0), outsize: 96
  [00022] EXTENDED_REPLY       97bytes (0ms)
   unique: 0, error: 0 (Undefined error: 0), outsize: 96
unique: 4, opcode: STATFS (17), nodeid: 1, insize: 40
[00026] EXTENDED
unique: 5, opcode: STATFS (17), nodeid: 1, insize: 40
[00027] EXTENDED
unique: 6, opcode: STATFS (17), nodeid: 1, insize: 40
[00028] EXTENDED
unique: 7, opcode: STATFS (17), nodeid: 1, insize: 40
[00029] EXTENDED
  [00023] EXTENDED_REPLY       97bytes (0ms)
   unique: 1, error: 0 (Undefined error: 0), outsize: 96
  [00024] EXTENDED_REPLY       97bytes (0ms)
   unique: 2, error: 0 (Undefined error: 0), outsize: 96
unique: 0, opcode: STATFS (17), nodeid: 1, insize: 40
[00030] EXTENDED
  [00025] EXTENDED_REPLY       97bytes (0ms)
  [00026] EXTENDED_REPLY       97bytes (0ms)
   unique: 3, error: 0 (Undefined error: 0), outsize: 96
   unique: 4, error: 0 (Undefined error: 0), outsize: 96
  [00027] EXTENDED_REPLY       97bytes (0ms)
   unique: 5, error: 0 (Undefined error: 0), outsize: 96
  [00028] EXTENDED_REPLY       97bytes (0ms)
  [00029] EXTENDED_REPLY       97bytes (0ms)
   unique: 6, error: 0 (Undefined error: 0), outsize: 96
   unique: 7, error: 0 (Undefined error: 0), outsize: 96
  [00030] EXTENDED_REPLY       97bytes (0ms)
   unique: 0, error: 0 (Undefined error: 0), outsize: 96
unique: 1, opcode: GETXATTR (22), nodeid: 1, insize: 77
   unique: 1, error: -78 (Function not implemented), outsize: 16
unique: 2, opcode: LOOKUP (1), nodeid: 1, insize: 44
LOOKUP /._.
[00031] LSTAT
  [00031]         STATUS       33bytes (0ms)
   unique: 2, error: -2 (No such file or directory), outsize: 16
unique: 3, opcode: LOOKUP (1), nodeid: 1, insize: 44
LOOKUP /._.
[00032] LSTAT
  [00032]         STATUS       33bytes (0ms)
   unique: 3, error: -2 (No such file or directory), outsize: 16
unique: 4, opcode: LOOKUP (1), nodeid: 1, insize: 44
LOOKUP /._.
[00033] LSTAT
  [00033]         STATUS       33bytes (0ms)
   unique: 4, error: -2 (No such file or directory), outsize: 16
unique: 5, opcode: LOOKUP (1), nodeid: 1, insize: 48
LOOKUP /.hidden
unique: 6, opcode: STATFS (17), nodeid: 1, insize: 40
[00034] LSTAT
[00035] EXTENDED
  [00034]         STATUS       33bytes (0ms)
   unique: 5, error: -2 (No such file or directory), outsize: 16
  [00035] EXTENDED_REPLY       97bytes (0ms)
unique: 7, opcode: STATFS (17), nodeid: 1, insize: 40
   unique: 6, error: 0 (Undefined error: 0), outsize: 96
[00036] EXTENDED
  [00036] EXTENDED_REPLY       97bytes (0ms)
   unique: 7, error: 0 (Undefined error: 0), outsize: 96
unique: 0, opcode: STATFS (17), nodeid: 1, insize: 40
[00037] EXTENDED
unique: 1, opcode: STATFS (17), nodeid: 1, insize: 40
[00038] EXTENDED
  [00037] EXTENDED_REPLY       97bytes (0ms)
   unique: 0, error: 0 (Undefined error: 0), outsize: 96
  [00038] EXTENDED_REPLY       97bytes (0ms)
   unique: 1, error: 0 (Undefined error: 0), outsize: 96
unique: 2, opcode: STATFS (17), nodeid: 1, insize: 40
[00039] EXTENDED
unique: 3, opcode: LOOKUP (1), nodeid: 1, insize: 44
LOOKUP /._.
[00040] LSTAT
  [00039] EXTENDED_REPLY       97bytes (0ms)
   unique: 2, error: 0 (Undefined error: 0), outsize: 96
  [00040]         STATUS       33bytes (0ms)
   unique: 3, error: -2 (No such file or directory), outsize: 16
unique: 4, opcode: STATFS (17), nodeid: 1, insize: 40
[00041] EXTENDED
  [00041] EXTENDED_REPLY       97bytes (0ms)
   unique: 4, error: 0 (Undefined error: 0), outsize: 96
unique: 5, opcode: LOOKUP (1), nodeid: 1, insize: 44
LOOKUP /._.
[00042] LSTAT
  [00042]         STATUS       33bytes (0ms)
   unique: 5, error: -2 (No such file or directory), outsize: 16
unique: 6, opcode: LOOKUP (1), nodeid: 1, insize: 44
LOOKUP /._.
[00043] LSTAT
  [00043]         STATUS       33bytes (0ms)
   unique: 6, error: -2 (No such file or directory), outsize: 16
unique: 7, opcode: LOOKUP (1), nodeid: 1, insize: 44
LOOKUP /._.
[00044] LSTAT
  [00044]         STATUS       33bytes (0ms)
   unique: 7, error: -2 (No such file or directory), outsize: 16
unique: 0, opcode: LOOKUP (1), nodeid: 1, insize: 44
LOOKUP /._.
[00045] LSTAT
  [00045]         STATUS       33bytes (0ms)
   unique: 0, error: -2 (No such file or directory), outsize: 16
unique: 1, opcode: STATFS (17), nodeid: 1, insize: 40
[00046] EXTENDED
  [00046] EXTENDED_REPLY       97bytes (0ms)
   unique: 1, error: 0 (Undefined error: 0), outsize: 96
unique: 2, opcode: LOOKUP (1), nodeid: 1, insize: 44
LOOKUP /._.
[00047] LSTAT
  [00047]         STATUS       33bytes (0ms)
   unique: 2, error: -2 (No such file or directory), outsize: 16
unique: 3, opcode: STATFS (17), nodeid: 1, insize: 40
[00048] EXTENDED
  [00048] EXTENDED_REPLY       97bytes (0ms)
   unique: 3, error: 0 (Undefined error: 0), outsize: 96

(complete debug log attached)

Is it a bug in FUSEFS or am I doing something wrong?


 
sshfs.log

Jack S.

unread,
Oct 25, 2014, 10:03:03 AM10/25/14
to osxfus...@googlegroups.com
I just mounted the same remote fs on a system running Mavericks - using OSXFUSE 2.7.2 and SSHFS 2.5.0 and I'm having the same issue as the Yosemite computer.  What gives?  Linux and FreeBSD are able to write to the same remote fs, using the same credentials just fine.


 

ho...@archiware.com

unread,
Nov 21, 2014, 11:23:19 AM11/21/14
to osxfus...@googlegroups.com

You can use the free version of WingFS for ssh (sftp) mounts. It can not only mount ssh(sftp) but many other services.
Reply all
Reply to author
Forward
0 new messages