Skip to content

A helpful script for assisting in the migration of serversideup/php v2 → v3

License

Notifications You must be signed in to change notification settings

serversideup/docker-volume-change-permission-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Change Docker Volume Permissions Helper Script

A helpful script for assisting in the migration of serversideup/php v2 → v3.

Caution

Be sure to have tested backups before running this script. Root permissions are required, and the script will change the ownership of directories within the Docker volumes base directory. Use this script at your own risk.

Installation

curl -o change-volume-permissions.sh https://raw.githubusercontent.com/serversideup/docker-volume-change-permission-script/main/change-volume-permissions.sh && chmod +x change-volume-permissions.sh

Usage

bash change-volume-permissions.sh --volume-prefix <prefix> --permissions <user:group> [--dry-run]
Options
  • --volume-prefix: Specific prefix of directories to search within the Docker volumes base directory."
  • --permissions: User and group to change ownership to, formatted as user:group."
  • --dry-run: Optional flag to simulate changes without applying them."

More help

Read our migration guide: https://serversideup.net/open-source/docker-php/docs/guide/migrating-from-v2-to-v3

About

A helpful script for assisting in the migration of serversideup/php v2 → v3

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages