- # msnfs42client: Test for Cygwin/SFU uid/gid in nfs3_attrs
- diff --git a/sys/nfs41_driver.c b/sys/nfs41_driver.c
- index 6a8061d..2bc730d 100644
- --- a/sys/nfs41_driver.c
- +++ b/sys/nfs41_driver.c
- @@ -4502,6 +4502,8 @@ void create_nfs3_attrs(
- else
- attrs->type = NF3REG;
- attrs->mode = nfs41_fcb->mode;
- + attrs->uid = 72488;
- + attrs->gid = 21984;
- attrs->nlink = nfs41_fcb->StandardInfo.NumberOfLinks;
- attrs->size.QuadPart = attrs->used.QuadPart =
- nfs41_fcb->StandardInfo.EndOfFile.QuadPart;
- # results in:
- # roland_mainz@winkrakra1 ~/work/kofemann_msnfs41/ms-nfs41-client
- # $ ls -l /cygdrive/h/tmp/a.exe
- # -rwxr-xr-x 1 Unix_User+72488 Unix_Group+21984 93684 Oct 4 07:27 /cygdrive/h/tmp/a.exe
msnfs42client: Test for Cygwin/SFU uid/gid in nfs3_attrs
Posted by Anonymous on Sat 7th Oct 2023 10:36
raw | new post
view followups (newest first): msnfs42client: Test for Cygwin/SFU uid/gid in nfs3_attrs by Anonymous
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.