[feisty] sshfs removes permitions of mounted folder

Bug #94799 reported by Fernando Miguel
8
Affects Status Importance Assigned to Milestone
sshfs-fuse (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: sshfs

even following this instructions:
  sudo apt-get install sshfs
  sudo modprobe fuse
  sudo adduser <username> fuse
  sudo chown root:fuse /dev/fuse
  sudo chmod +x /dev/fuse
  mkdir ~/remoteserv
  sshfs <username>@<ipaddress>:/remotepath ~/remoteserv

the remotserv directory ends up with no permissions.

Revision history for this message
Oebele drijfhout (oebele.drijfhout) wrote :

I can confirm this on feisty, I could work around this problem by issueing:

[code] sudo chmod +x /usr/bin/fusermount [/code]
and
[code] sudo chmod o+rw /dev/fuse [/code]

My colleague (who advised me this solution in the first place) said adding the user with which you want to mount the partition to the group fuse in theory should also work and this would be the more elegant solution. I haven't tested this yet, but I will do so tonight.

Changed in sshfs-fuse:
status: Unconfirmed → Confirmed
Revision history for this message
Oebele drijfhout (oebele.drijfhout) wrote :

Tested adding the user to the group fuse, but it didn't work without setting the permissions first. BTW I have tested this on two different feisty systems, both xubuntu, one at work and one at home (yes, I'm one of those lucky bastards :P )

Revision history for this message
Oebele drijfhout (oebele.drijfhout) wrote :

After some more testing it turned it out adding the user to the group fuse _does_ work, all I needed to was to logout all sessions. Maybe a notification this is necessary when installing sshfs might be a good idea?

Revision history for this message
Fernando Miguel (fernandomiguel) wrote :

It has been fixed for a long time now, and I forgot to follow up on this.
Yes, it is mandatory to logout and login again.
It is a limitation of the way GROUPS work.

Changed in sshfs-fuse:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.