Skip to content

Refactor disk mounting logic to set full permissions on disks.#565

Merged
brdeyo merged 2 commits into
mainfrom
brdeyo/mount-disk-location
Aug 15, 2025
Merged

Refactor disk mounting logic to set full permissions on disks.#565
brdeyo merged 2 commits into
mainfrom
brdeyo/mount-disk-location

Conversation

@brdeyo
Copy link
Copy Markdown
Contributor

@brdeyo brdeyo commented Aug 15, 2025

  • Set full permissions on the root directory for each mount point (e.g. chmod 777, chown).
  • Update PostgreSQL database configuration and distribution logic to use a "subdirectory" within the mount point directory. PostgreSQL requires the "postgresql" user to have ownership of the directory in which database/tablespace files exist. We DO NOT want these permissions applied to the root mount point directory as it would impact all other workloads trying to access the file system through the mount point.
  • Update MySQL database configuration and distribution logic to use a "subdirectory" within the mount point directory. Same reason as for PostgreSQL for the "mysql" user ownership dilemma.

brdeyo added 2 commits August 13, 2025 17:16
…changes to PostgreSQL and MySQL workloads to account for permissions fix.
@brdeyo brdeyo merged commit 11a620f into main Aug 15, 2025
5 checks passed
@brdeyo brdeyo deleted the brdeyo/mount-disk-location branch August 15, 2025 23:29
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