ObjectiveFS Mount on Ubuntu 26.04
Overview
Ubuntu 26.04 applies AppArmor restrictions to fusermount3. Current ObjectiveFS releases depend on fusermount3 (invoked through the fusermount symlink) to perform mount operations. These restrictions can prevent mounts from succeeding.
This issue will be resolved in a future ObjectiveFS release, which removes the dependency on fusermount. For now, the following solutions are available.
Symptom
When mounting a filesystem on Ubuntu 26.04, you may see the following error due to AppArmor blocking fusermount3:
bin/fusermount: mount failed: Permission denied
mount.objectivefs: unable to connect to fuse, try 'umount /ofs' and check that FUSE is enabled and allowed
Solution
Option 1: Temporarily Disable the AppArmor Profile
Disable the fusermount3 AppArmor profile before mounting, then restore it after the filesystem is mounted.
# apparmor_parser -R /etc/apparmor.d/fusermount3
# mount.objectivefs -o <options> <filesystem> <directory>
# apparmor_parser -r /etc/apparmor.d/fusermount3
Note: This procedure must be repeated after every system reboot.
Option 2: Permanently Disable the AppArmor Profile
Disable the fusermount3 AppArmor profile permanently on the server.
# apt install apparmor-utils
# aa-disable fusermount3
# mount.objectivefs -o <options> <filesystem> <directory>
Note: This change persists across system reboots.
Last updated ObjectiveFS staff
ObjectiveFS is a shared file system for macOS and Linux that automatically scales and gives you scalable cloud storage. If you have questions or article idea suggestions, please email us at support@objectivefs.com