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

lxc/file: Get owner mode only if --gid or --uid is unset - from Incus #13141

Merged
merged 1 commit into from
Mar 18, 2024

Conversation

simondeziel
Copy link
Member

If both --gid and --uid are set there's no need to get a file's GID or UID as they will be overridden by the provided values.

If both `--gid` and `--uid` are set there's no need to get a file's GID
or UID as they will be overridden by the provided values.

Signed-off-by: Thomas Hipp <thomashipp@gmail.com>
(cherry picked from commit 7e5ccf22033aad6ef3715ad9686ff167f603ac15)
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
License: Apache-2.0
@simondeziel simondeziel marked this pull request as ready for review March 14, 2024 12:43
@tomponline tomponline merged commit f7cea51 into canonical:main Mar 18, 2024
28 checks passed
@simondeziel simondeziel deleted the file-mode-from-incus branch March 18, 2024 16:21
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.

3 participants