Skip to content

docs: Adding data mount prereq #6147

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

MeelahMe
Copy link
Contributor

Objective:

To add guidance to the install documentation on how to correctly mount the /var/lib/influxdb3 directory and set secure permissions (chmod 700).

Related to #6019

@MeelahMe MeelahMe self-assigned this Jun 20, 2025
@MeelahMe MeelahMe marked this pull request as ready for review June 20, 2025 15:21
@MeelahMe MeelahMe requested a review from Copilot June 20, 2025 15:21
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a new “Prerequisites” section to the InfluxDB 3 installation docs, guiding users on preparing and mounting a host data directory.

  • Introduces steps to create and mount a local data directory for Docker
  • Adds file system permission instructions
  • Clarifies directory location recommendations

Comment on lines +50 to +51
# Set permissions to allow InfluxDB to write data
chmod 755 $PWD/influxdb3-data
Copy link
Preview

Copilot AI Jun 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The documentation recommends chmod 755, which allows group and others to read and execute. For a secure data directory, use chmod 700 to restrict access to the owner only.

Suggested change
# Set permissions to allow InfluxDB to write data
chmod 755 $PWD/influxdb3-data
# Set permissions to restrict access to the owner only
chmod 700 $PWD/influxdb3-data

Copilot uses AI. Check for mistakes.

@MeelahMe MeelahMe requested a review from jstirnaman June 20, 2025 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant