setcifsacl command not found

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

Introduction

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

setcifsacl: command not found

or when using sudo you get the following error message

sudo: setcifsacl: command not found

Solutions to setcifsacl: command not found

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

In Ubuntu setcifsacl is provided by cifs-utils package.

cifs-utils is:

The SMB/CIFS protocol provides support for cross-platform file sharing with Microsoft Windows, OS X, and other Unix systems.

This package provides utilities for managing mounts of CIFS network file systems.

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

sudo apt-get -y install cifs-utils

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

You can also use apt command to install cifs-utils.

sudo apt -y install cifs-utils

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

sudo aptitude install cifs-utils

Summary

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