i've installed MacFUSE release pkg,

        http://macfuse.googlecode.com/files/MacFUSE-2.0.3,2.dmg

and, built sshfs from src,

        wget 
http://internap.dl.sourceforge.net/sourceforge/fuse/sshfs-fuse-2.2.tar.gz

        sshfs -V
                SSHFS version 2.2 (MacFUSE SSHFS 2.2.0)
                MacFUSE library version: FUSE 2.7.3 / MacFUSE 2.1.5
                no mount point

on,

        uname -a
                Darwin desktop 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15
16:57:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_PPC Power Macintosh
powerpc PowerBook3,4 Darwin

i'm connecting to a remote Linux box, and want access to/as root.  i
set,

        sysctl -w macfuse.tunables.admin_group=0

then, as my local user,

        whoami
                pgn

i connect,

        sshfs [email protected]:/ /Volumes/LinuxRoot -
osshfs_debug,reconnect,volname=LinuxRoot,allow_other,umask=7002,defer_permissions,kill_on_unmount,noapplexattr,noappledouble

mount is ok,

        ls /Volumes/LinuxRoot
                boot/  dev/  home/  lost+found/  mnt/  proc/  sbin/  sys/  usr/
                bin/   data/  etc/  lib/   media/       opt/  root/  srv/   tmp/
var/

@ shell, i can cp to the sshfs mount just fine,

        ls -al ~/test.zip
                -rw-r--r-- 1 pgn staff 776424 2009-06-24 07:51 
/Users/pgn/test.zip
        cp ~/test.zip /Volumes/LinuxRoot/
        ls -al /Volumes/LinuxRoot/test.zip
                -rwxrwxr-x 1 root wheel 776424 2009-08-16 12:56 
/Volumes/LinuxRoot/
test.zip

and, @remote,

        ls -al /test.zip
                -rw-r--r-- 1 root root 776424 2009-08-16 13:17 test.zip

but, if on OSX, in CocoaTech's Pathfinder i try to drag the same file,
from the same location to the same destination location (appears a
mounted Volume "LinuxRoot" in PF), it fails with the following error
dialog:

        An error occurred.

        Operation could not be completed. (OSStatus error -5000.)
        Insufficient access privileges for operation

        src:  /Users/pgn/test.zip
        dest: /Volumes/LinuxRoot/test.zip
        item: /Volumes/LinuxRoot

in syslog,

        ...
        Aug 16 13:22:41: --- last message repeated 1 time ---
        Aug 16 13:22:41 desktop ctask[11522]: Copy Operation Error:
-5000\nDescription: afpAccessDenied.  Insufficient access privileges
for operation .\nPath: /Volumes/LinuxRoot\nStage: 3
        Aug 16 13:22:42 desktop ctask[11522]: Error: -35 in initVolumeInfo
        Aug 16 13:22:44: --- last message repeated 1 time ---
        Aug 16 13:22:41 desktop [0x0-0x16016].com.cocoatech.PathFinder[234]:
2009-08-16 13:22:41.280 ctask[11522:10b] Copy Operation Error: -5000
        Aug 16 13:22:41 desktop [0x0-0x16016].com.cocoatech.PathFinder[234]:
Description: afpAccessDenied.  Insufficient access privileges for
operation .
        Aug 16 13:22:41 desktop [0x0-0x16016].com.cocoatech.PathFinder[234]:
Path: /Volumes/LinuxRoot
        Aug 16 13:22:41 desktop [0x0-0x16016].com.cocoatech.PathFinder[234]:
Stage: 3
        Aug 16 13:22:42 desktop [0x0-0x16016].com.cocoatech.PathFinder[234]:
2009-08-16 13:22:42.444 ctask[11522:3903] Error: -35 in initVolumeInfo
        Aug 16 13:22:44 desktop [0x0-0x16016].com.cocoatech.PathFinder[234]:
2009-08-16 13:22:44.397 ctask[11522:3907] Error: -35 in initVolumeInfo
        ...

and @remote, i have a zero-byte result,

        ls -al test.zip
                -rw-r--r-- 1 root root 0 2009-08-16 13:19 test.zip


if i repeat the attempt in OSX's Finder, I get a dialog,

        "The item "test.zip" contains one or more items you do not have
permission to read.  Do you
         want to copy the items you are allowed to read?"

if i click "Continue", i get another diaolog,

        "The operation cannot be completed because you do not have sufficient
privileges for some
         of the items."

and _only_ this is syslog,

        Aug 16 13:28:05 desktop com.apple.launchd[192] (0x1100a0.Locum
[11536]): Exited: Terminated

is this a but in fuse/sshfs? or simply a config issue?

thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MacFUSE" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/macfuse?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to