mahinthjoe / macfuse

Automatically exported from code.google.com/p/macfuse
0 stars 0 forks source link

Unable to load and access share from user account - permission denied error #48

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. install sshfs and macfuse from dmg
2. mount share from terminal as root user (share doesn't mount as non-root
user)
3. user gets 'ls:sshfs_share: permission denied' error in directory
listing, and cannot access share.
4. root user can access share

cmd: sshfs ssh_user@serverip_addr:/home/share /Volumes/sshfs_share1
-oping_diskarb,volname=vname 

What is the expected output? What do you see instead?
Despite checking the permissions on the share (owned by user.  user is in
group owner too), the user is unable to access the share.  Only the root
user can access teh share. 
Furthermore, the user cannot even load the share.

What version of the product are you using? On what operating system?
- MacFUSE-Core-0.1.7.dmg
- sshfs-0.1.0.dmg

Please provide any additional information below.
- Mounted the share in /Volumes/ssh_share1, and it didn't load from user space
- Mounted the share in /Users/<username>/ssh_share2, and it didn't load
from user space.
- No share in finder either.

Original issue reported on code.google.com by aacc1...@gmail.com on 24 Jan 2007 at 3:21

GoogleCodeExporter commented 8 years ago
You shouldn't be mounting it as root. If it won't let you mount as a non-root 
user, something must be amiss. 
Please check the ownership and permissions of the directory you are mounting on?

You can use the 'allow_other' option to let other users access the share even 
though it was mounted by root, but 
that's not how you should be using this.

sshfs-0.1.0 dmg doesn't have a command-line program called 'sshfs', so which 
sshfs are we talking about 
anyway?

Original comment by si...@gmail.com on 24 Jan 2007 at 5:42

GoogleCodeExporter commented 8 years ago
Ok - that explains it.

1) I noticed that I was not calling sshfs-static from the sshfs-0.1.0.dmg, but 
sshfs
version 1.7 which I got from a sshfs-1.1.1 dmg a while ago, and that is what was
being used.  I guess that is the unpatched version, from what I saw on the site
instructions.

2) I was unable to use the GUI, since my ssh server is not running on the 
default
port, and I couldn't specify the params here.  cmd line works like a charm 
though. 
Will reset my links.

What threw me off was that the sshfs I had would manage to mount the share, but 
only
as root.

Oh well.  Things are working wonderfully now.  Thanks!  And thanks for a great 
product!

Cheers.

Original comment by aacc1...@gmail.com on 24 Jan 2007 at 9:50

GoogleCodeExporter commented 8 years ago

Original comment by si...@gmail.com on 25 Jan 2007 at 1:39