Public bug reported:

When I have a ssh-mountpoint mounted with "-o ro" and try to remount it
with "-o remount,rw" the remount fails telling me that the mount-target
is not-empty and advising me to use the "nonempty" option if I feel the
operation is safe.

Using the "nonempty" option, I get the error message, that the fs is
already mounted according to "mtab".

Example:
---SNIP---
root@nginx1206 /tmp # mount | grep chef
root@ssh:/chef on /tmp/chef type fuse.sshfs (ro,nosuid,nodev,max_read=65536)
root@nginx1206 /tmp # mount -o remount,rw /tmp/chef
fuse: mountpoint is not empty
fuse: if you are sure this is safe, use the 'nonempty' mount option
1 root@nginx1206 /tmp # mount -o remount,rw,nonempty /tmp/chef
mount: according to mtab, root@ssh:/chef is already mounted on /tmp/chef

1 root@nginx1206 /tmp # mount | grep chef
root@ssh:/chef on /tmp/chef type fuse.sshfs (ro,nosuid,nodev,max_read=65536)
---SNAP---

Expected behaviour:
The mount should be changed to the new option (rw) and mount should not even 
moan about the target not being empty and should not suggest using the 
"nonempty" option...

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: sshfs 2.3-1
ProcVersionSignature: Ubuntu 3.2.0-29.46-generic 3.2.24
Uname: Linux 3.2.0-29-generic x86_64
NonfreeKernelModules: openafs fglrx
ApportVersion: 2.0.1-0ubuntu11
Architecture: amd64
Date: Thu Aug 16 12:52:58 2012
ProcEnviron:
 LANGUAGE=de_AT:de
 TERM=xterm
 PATH=(custom, no user)
 LANG=de_AT.UTF-8
 SHELL=/bin/bash
SourcePackage: sshfs-fuse
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: sshfs-fuse (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug precise running-unity

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1037500

Title:
  sshfs mounts could not be remounted

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sshfs-fuse/+bug/1037500/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to