Updated readme

This commit is contained in:
fedir 2025-05-20 10:11:32 +02:00
parent 8e1c325f98
commit b1ee452890
Signed by: fedir
GPG Key ID: C959EE85F0C9362C

View File

@ -30,9 +30,21 @@ Currently, there is no installer implemented.
## Usage
`icfs <FUSE arguments> [target directory]`
```
icfs <FUSE arguments> [target directory] [path to permanent permission database]
```
The filesystem will be mounted over the target directory, and ask user permission every time a file in that directory is opened.
The filesystem will be mounted over the target directory, and ask user permission every time a file in that directory is opened. Although filesystem must work as intended with no additional fuse arguments, we highly recommend adding `-o default_permissions` to increase performance and add an additional security layer.
### Development build
Execute this command in the root directory of this project:
```
env PATH="$(realpath ./build):$PATH" build/icfs <FUSE arguments> [target directory] [path to permanent permission database]
```
The `env PATH="$(realpath ./build):$PATH"` adds the access dialogue program to PATH, allowing ICFS to call it seamlessly.
## Docs