#sandboxing #fuse #bazel #sandbox

bin+lib sandboxfs

A virtual file system for sandboxing

3 unstable releases

Uses old Rust 2015

0.2.0 Apr 20, 2020
0.1.1 Oct 24, 2019
0.1.0 Feb 5, 2019

#1503 in Filesystem

Download history 25/week @ 2024-07-20 69/week @ 2024-07-27 32/week @ 2024-08-03 24/week @ 2024-08-10 26/week @ 2024-08-17 30/week @ 2024-08-24 31/week @ 2024-08-31 27/week @ 2024-09-07 27/week @ 2024-09-14 59/week @ 2024-09-21 67/week @ 2024-09-28 37/week @ 2024-10-05 36/week @ 2024-10-12 30/week @ 2024-10-19 32/week @ 2024-10-26 17/week @ 2024-11-02

119 downloads per month

Apache-2.0

440KB
8K SLoC

Go 4K SLoC // 0.2% comments Rust 3.5K SLoC // 0.1% comments Shell 337 SLoC // 0.3% comments

Contains (autotools obfuscated code, 5KB) configure

sandboxfs: A virtual file system for sandboxing

sandboxfs is a FUSE file system that exposes a combination of multiple files and directories from the host's file system in the form of a virtual tree with an arbitrary layout. You can think of a sandbox as an arbitrary view into the host's file system with different access privileges per directory.

sandboxfs is designed to allow running commands with limited access to the file system by using the virtual tree as their new root, and to do so consistently across a variety of platforms.

sandboxfs is licensed under the Apache 2.0 license and is not an official Google product.

Releases

The latest version of sandboxfs is 0.2.0 and was released on 2020-04-20.

See the installation instructions for details on how to build and install sandboxfs.

See the release notes file for more details.

Usage

sandboxfs is fully documented in the sandboxfs(1) manual page, which is located in the man/sandboxfs.1 file. You can view a rendered version of this manual page using the following command after cloning the tree:

man ./man/sandboxfs.1

Contributing

If you'd like to contribute to sandboxfs, there is plenty of work to be done! Please make sure to read our contribution guidelines to learn about some important prerequisite steps.

Dependencies

~7–16MB
~217K SLoC