bindfs command not found

In this troubleshooting guide we learn how to fix bindfs command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

bindfs: command not found

or when using sudo you get the following error message

sudo: bindfs: command not found

Solutions to bindfs: command not found

How To Fix bindfs: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu bindfs is provided by bindfs package.

bindfs is:

bindfs is a FUSE filesystem for mirroring a directory to another directory, similarly to mount –bind. The permissions of the mirrored directory can be altered in various ways.

Some things bindfs can be used for:

  • Making a directory read-only.
  • Making all executables non-executable.
  • Sharing a directory with a list of users (or groups).
  • Modifying permission bits using rules with chmod-like syntax.
  • Changing the permissions with which files are created.

Non-root users can use almost all features, but most interesting use-cases need user_allow_other to be defined in /etc/fuse.conf.

To fix this problem, we can install more using the command below.

sudo apt-get -y install bindfs

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install bindfs.

sudo apt -y install bindfs

Or if you have aptitude installed you can use the following command.

sudo aptitude install bindfs

Summary

In this tutorial we learn how to fix bindfs command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.