Skip to content
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

Add ability to set the initial owner of a custom volume #1382

Closed
stgraber opened this issue Nov 16, 2024 · 0 comments · Fixed by #1415
Closed

Add ability to set the initial owner of a custom volume #1382

stgraber opened this issue Nov 16, 2024 · 0 comments · Fixed by #1415
Assignees
Labels
Easy Good for new contributors
Milestone

Comments

@stgraber
Copy link
Member

For filesystem custom volumes, we currently have root:root as the initial owner of the volume.
This makes sense for system containers and VMs and is generally the correct behavior there.

But for OCI containers where the application may be running as non-root and where there isn't an init system to put the storage in place and correct ownership, having the ability to create a volume with a pre-defined owner would be quite useful.

This would likely look like 3 additional volume keys:

  • initial.uid
  • initial.gid
  • initial.mode
@stgraber stgraber added Feature Easy Good for new contributors labels Nov 16, 2024
@stgraber stgraber added this to the soon milestone Nov 16, 2024
@presztak presztak self-assigned this Nov 20, 2024
@stgraber stgraber modified the milestones: soon, incus-6.8 Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Easy Good for new contributors
Development

Successfully merging a pull request may close this issue.

2 participants