Public bug reported:

My sshfs mounts from /etc/fstab stopped working after upgrading to
Plucky. This is the line from my fstab:

```
[email protected]:/datastore/media     /media/Media    fuse.sshfs     
 
_netdev,user,idmap=user,transform_symlinks,port=22,allow_other,default_permissions,uid=1000,gid=1000
    0       0
```

And I uncommented `user_allow_other` in `/etc/fuse.conf`.

Usually I'm able to mount this with `mount -a`, or by simply clicking
the mount in Gnome Files (Nautilus). But now I get:

```
mount -a
fusermount3: mount failed: Permission denied
```

If I add `sudo` to the mount command, I get:

```
sudo mount -a
read: Connection reset by peer
```

But strangely, the mount works just fine if I mount using `sshfs`:

```
sshfs -o 
_netdev,user,idmap=user,transform_symlinks,port=22,allow_other,default_permissions,uid=1000,gid=1000
 [email protected]:/datastore/media /media/Media
```

I suspect it has something to do with apparmor, because the following
log appears when I attempt a mount via Nautilus:

```
sudo journalctl -xe | grep DENIED
mei 27 13:58:51 saibot kernel: audit: type=1400 audit(1748347131.297:5484): 
apparmor="DENIED" operation="mount" class="mount" info="failed flags match" 
error=-13 profile="fusermount3" name="/media/Media/" pid=69641 
comm="fusermount3" fstype="fuse" 
srcname="[email protected]:/datastore/media" flags="rw, nosuid, 
nodev, noexec"
```

** Affects: apparmor (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apparmor fusermount3 sshfs

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

Title:
  Plucky broke fstab sshfs mounts, which depend on fusermount

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/2111807/+subscriptions


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

Reply via email to