- Newest
- Most votes
- Most comments
Check fusermount Installation:
These distributions typically use the fuse package which includes fusermount. Check if it's installed:
dpkg -l fuse
If not installed, install it:
sudo apt install fuse
Verify PATH:
export PATH=$PATH:$HOME/mountpoint-s3/bin
Check Permissions:
- In rare cases, the fusermount executable might have incorrect permissions. Try:
sudo chmod +x /usr/bin/fusermount # Replace path if different on your system
Re-attempt Mount:
- After following any of these steps, try mounting your S3 bucket again using:
mount-s3 my-s3-bucket-name ./mnt
You do need to have sudo access if you would like to install a package on the machine, and you would also typically need to have sudo permissions to be able to mount a file-system, as allowing any user to mount a file-system is a great way to allow folks to do nasty things, like mounting a file-system in /etc that contains the evil persons own copy of /etc/shadow or /etc/sudoers and this will allow them to either get root, or get sudo access for themselves.
So a direct answer to your question - you would usually need sudo to be able to install mountpoint for s3.
it seems like if the system already has fuse installed, I do not need sudo to run
mount-s3 example-bucket $HOME/mnt --allow-overwrite --allow-delete. So it looks like the answer is that sudo is generally required, but there's an exception for systems that already have fuse installed.
Relevant content
- asked 2 years ago
- AWS OFFICIALUpdated 6 months ago

I'm on an RPM-based system. So I get the error:
-bash: dpkg: command not found. Also, I will need sudo privileges to run something likesudo apt install fuse(orsudo dnf install fuse)You're right, dpkg is a Debian/Ubuntu package manager, and won't be found on RPM-based systems. Here's how to troubleshoot the fusermount issue on your RPM system:
Since fusermount is part of the FUSE libraries, install them using your package manager:
Bash sudo yum install fuse fuse-devel # For Fedora/CentOS/RHEL
OR
sudo zypper install fuse fuse-devel # For OpenSUSE/SUSE