quickwit-oss / quickwit-oss/quickwit

Default file permissions for file-based storage

Open
#5,864 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Rust
Stars
11.7k
Forks
597
Avg merge
2d 22h
Merged PRs (30d)
37

Description

Is your feature request related to a problem? Please describe.
Files in the indexing directory are created with 0600 permissions. As such, because I am indexing using tool local-ingest, it uses my current user to create files on nfs share. But services are running under root user on the other machines cannot access these files - these machines see them, but cannot read them.

Describe the solution you'd like
A config setting to control a default permission for file-based index

Describe alternatives you've considered
running a cron job each minute to do chmod -R a+rw /qw/indexes seems to be a hella ugly solution

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the file-based index creation path and the configuration definitions used by tool local-ingest. Trace where new index files receive their permissions, then verify that the setting controls those defaults and that services running as other users can read the files.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
search
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.