These docs are under active development and cover the v0.20 Kobicha security model.

Files and directories

reference
Files and directories

The commands that create, copy, move, remove, and resize files and directories — and how each one handles a file's security descriptor.

reference
cp

Copy files and directories — including how a copy gets its security descriptor and the --preserve family that carries attributes from the source.

reference
mv

Move or rename files and directories — including how a move handles a file's security descriptor depending on whether it crosses a file system.

reference
rm

Remove files and directories — including how rm decides a file is write-protected and worth prompting about.

reference
rmdir

Remove directories, but only when they are already empty.

reference
mkdir

Create directories — and the shared creation flags that set a new object's security descriptor, used by mkdir, mkfifo, mknod, and touch.

reference
mkfifo

Create named pipes (FIFOs).

reference
mknod

Create special files — device nodes and named pipes.

reference
touch

Create empty files, or update the timestamps of existing ones.

reference
ln

Create hard links and symbolic links between files.

reference
link and unlink

The single-purpose, low-level commands for creating one hard link and for removing one file.

reference
shred

Destroy a file's contents by overwriting them repeatedly, so they cannot be recovered — including how --force overrides a file's protection.

reference
dd

Copy data block by block between files, optionally converting and reshaping it on the way.

reference
df

Report how much space each file system has and how much of it is free.

reference
du

Report how much disk space files and directories use.

reference
truncate

Shrink or extend a file to an exact size.

reference
mktemp

Create a temporary file or directory with a safely unique name.