-
Notifications
You must be signed in to change notification settings - Fork 54
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
feat: User-specified mount point owner and permissions #352
feat: User-specified mount point owner and permissions #352
Conversation
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## main #352 +/- ##
==========================================
- Coverage 13.90% 12.19% -1.71%
==========================================
Files 8 8
Lines 1705 1705
Branches 71 0 -71
==========================================
- Hits 237 208 -29
- Misses 1468 1497 +29
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
a638c00
to
850f93e
Compare
Also need an update to the README.md |
Did you push your new commit(s)? |
850f93e
to
cfd7781
Compare
Added new volume options related to mount point directory: mount_user - directory owner (string) mount_group - directory group (string) mount_permissions - directory permissions (string; same format as chmod) Resolves: rhbz#2181661
tasks/main-blivet.yml
Outdated
group: "{{ mount_info['group'] if 'group' in mount_info else omit }}" | ||
mode: "{{ mount_info['mode'] if 'mode' in mount_info else omit }}" | ||
state: directory | ||
when: "{{ mount_info['owner'] != none or mount_info['group'] != none or mount_info['mode'] != none }}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
when: "{{ mount_info['owner'] != none or mount_info['group'] != none or mount_info['mode'] != none }}" | |
when: mount_info['owner'] != none or mount_info['group'] != none or | |
mount_info['mode'] != none |
cfd7781
to
14328ba
Compare
My apologies, I am replying to comments that I have fixed locally, so I know I have handled them. |
[citest] |
Looks good now. |
Turns out that the systemd refresh removed as part of linux-system-roles#352 was needed. This fix adds it back. Signed-off-by: Rich Megginson <rmeggins@redhat.com>
Turns out that the systemd refresh removed as part of #352 was needed. This fix adds it back. Signed-off-by: Rich Megginson <rmeggins@redhat.com>
Added new volume options related to mount point directory: mount_user - directory owner (string)
mount_group - directory group (string)
mount_permissions - directory permissions (string; same format as chmod)
Resolves: rhbz#2181661