sshfs no longer translates permissions

Bug #367159 reported by Perkins on 2009-04-26
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sshfs-fuse (Ubuntu)
Undecided
Unassigned

Bug Description

Since upgrading to 9.04, files on my sshfs mounted partitions have the uid and gid of the server account instead of being translated to the uid and gid of the local account.

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
Package: sshfs 2.1-1
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: sshfs-fuse
Uname: Linux 2.6.28-11-generic i686

Perkins (lperkins) wrote :
Charlie Kravetz (charlie-tca) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. We are sorry that we do not always have the capacity to look at all reported bugs in a timely manner. There have been many changes in Ubuntu since that time you reported the bug and your problem may have been fixed with some of the updates. If you could test the current Ubuntu development version, this would help us a lot. If you can test it, and it is still an issue, we would appreciate if you could upload updated logs by running apport-collect 367159, and any other logs that are relevant for this particular issue.

Changed in sshfs-fuse (Ubuntu):
status: New → Invalid
status: Invalid → Incomplete
Perkins (lperkins) wrote :

I eventually got around to digging through to the bottom of the documentation. It seems that the default behaviour was changed from automatically translating the server account's uid and gid into the local account's uid and gid to not translating anything. You now have to explicitly run it with a "-o idmap=user" I'm not sure why this change was made since, logically, about 99.9% of the time you mount a fuse filesystem, you want to be able to access it yourself... But regardless, that's what happened. To my mind it would be more friendly to new users if it got changed back, but I shall leave such decisions to those higher up the food chain.

Charlie Kravetz (charlie-tca) wrote :

This bug report is being closed due to your last comment regarding this being fixed with an update. We really do appreciate the help in trying to make Ubuntu better. And thank you for telling us this bug is taken care of. Please submit any future bugs you may find.

Changed in sshfs-fuse (Ubuntu):
status: Incomplete → Invalid
Perkins (lperkins) wrote :

I said nothing about it being fixed. I said the change in functionality appears to have been intentional. The default behaviour is still to not translate any of the IDs, which makes it so you can't actually do anything with the mounted filesystem unless you are, for some strange reason, using sshfs to mount a filesystem hosted on the same machine, or, coincidentally, have the same uid for your account on both machines... If there is a good reason for this being the default, then yes, it's fixed. Otherwise the default should probably be changed to what would seem to be the option most likely to be what the user is really wanting to do.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers