access

package
v0.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2026 License: AGPL-3.0 Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package access checks, at start, that a service can use the files and directories it was given, and names the fix when it cannot. The kunveno images run as user 10001, and in the Docker stack ./data, config.yaml, media/ and backgrounds/ come from the host, so a file or directory that user cannot use is the usual first-start failure. What the services write lives in volumes, which Docker creates owned by that user; these checks catch bind mounts and other installs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ID

func ID() string

ID is the service's uid:gid, as the hints name it.

func Readable

func Readable(path string) error

Readable makes sure the service can read the file at path (a media file, a background).

func Writable

func Writable(dir string) error

Writable makes sure dir exists (created 0700, as the stores do) and the service can create files in it.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL