- # set mask for newly created files to 0751
- diff --git a/sys/nfs41_driver.c b/sys/nfs41_driver.c
- index 58a312c..fb8bf50 100644
- --- a/sys/nfs41_driver.c
- +++ b/sys/nfs41_driver.c
- @@ -3949,7 +3953,7 @@ NTSTATUS nfs41_Create(
- entry->u.Open.open_owner_id = InterlockedIncrement(&open_owner_id);
- // if we are creating a file check if nfsv3attributes were passed in
- if (params->Disposition != FILE_OPEN && params->Disposition != FILE_OVERWRITE) {
- - entry->u.Open.mode = 0777;
- + entry->u.Open.mode = 0751;
- if (ea && AnsiStrEq(&NfsV3Attributes, ea->EaName, ea->EaNameLength)) {
- nfs3_attrs *attrs = (nfs3_attrs *)(ea->EaName + ea->EaNameLength + 1);
- #ifdef DEBUG_OPEN
set mask for newly created files to 0751
Posted by Anonymous on Mon 17th Jun 2024 11:47
raw | new post
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.