-
Notifications
You must be signed in to change notification settings - Fork 341
DAOS-18324 common: create files as 0660 instead of 0600 #17330
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
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -38,6 +38,8 @@ umempobj_pgsz(int backend); | |
| /* umem persistent object property flags */ | ||
| #define UMEMPOBJ_ENABLE_STATS 0x1 | ||
|
|
||
| #define UMEM_FILE_MODE_DEFAULT 0660 | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hmm, shouldn't the DLCK being executed by root or the same user who runs DAOS server?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Till now both DDB and DLCK could be run only by the root user which was pointed out as not a good practice. Hence encouraged by @Michael-Hennecke we started to look into other possibilities. All the details are in the ticket and in the comments there but to answer to your questions briefly:
|
||
|
|
||
| #ifdef DAOS_PMEM_BUILD | ||
|
|
||
| /* The backend type is stored in meta blob header, don't change the value */ | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.