回复:Re: Turn off permission check
by QR
Thank you dang, I will try this later.
--------------------------------
----- 原始邮件 -----
发件人:Daniel Gryniewicz <dang(a)redhat.com>
收件人:devel(a)lists.nfs-ganesha.org
主题:[NFS-Ganesha-Devel] Re: Turn off permission check
日期:2019年09月10日 20点56分
On 9/7/19 9:14 PM, QR wrote:
> This is a scene between linux and windows.
> We need to upload directories/files in linux, and use them in windows.
> Everything is going well except creating/removing files.
> The directory/file belongs to root and the mode is 0755/0644, but the
> user is -2, so fsal_check_access_no_acl fail.
>
> One work around is changing everything to 0777, but it's time consuming.
> So is their a way to turn off permission check in ganesha? Thanks in
> advance.
>
Sounds like you have root squashing turned on. It's on by default, so
you'd have to turn it off.
Root squashing changes all actions by the root user (0) to the anonymous
user (-2 by default). It's configured with the "Squash" parameter in
Export_Defaults or in an Export itself.
Daniel
_______________________________________________
Devel mailing list -- devel(a)lists.nfs-ganesha.org
To unsubscribe send an email to devel-leave(a)lists.nfs-ganesha.org
5 years, 3 months
Change in ...nfs-ganesha[next]: Use xdr_putbufs for READ4resok annd READ3resok
by Frank Filz (GerritHub)
Frank Filz has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/468163 )
Change subject: Use xdr_putbufs for READ4resok annd READ3resok
......................................................................
Use xdr_putbufs for READ4resok annd READ3resok
NOTE includes an ntirpc pullup
Change-Id: I8e6081ac36f37af8d653839d35a7ebd6e55771fd
Signed-off-by: Frank S. Filz <ffilzlnx(a)mindspring.com>
---
M src/MainNFSD/libganesha_nfsd.ver
M src/Protocols/NFS/nfs3_read.c
M src/Protocols/NFS/nfs4_op_read.c
M src/Protocols/XDR/xdr_nfs23.c
M src/include/gsh_rpc.h
M src/include/nfsv41.h
M src/libntirpc
7 files changed, 160 insertions(+), 5 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/63/468163/1
--
To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/468163
To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I8e6081ac36f37af8d653839d35a7ebd6e55771fd
Gerrit-Change-Number: 468163
Gerrit-PatchSet: 1
Gerrit-Owner: Frank Filz <ffilzlnx(a)mindspring.com>
Gerrit-MessageType: newchange
5 years, 3 months
Change in ...nfs-ganesha[next]: Add LTTng traces to nfs_rpc set
by Frank Filz (GerritHub)
Frank Filz has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/468162 )
Change subject: Add LTTng traces to nfs_rpc set
......................................................................
Add LTTng traces to nfs_rpc set
Change-Id: I61af621662ccf0128efb361bd90bf0f4490b0f7a
Signed-off-by: Frank S. Filz <ffilzlnx(a)mindspring.com>
---
M src/MainNFSD/nfs_rpc_dispatcher_thread.c
M src/MainNFSD/nfs_worker_thread.c
M src/include/gsh_lttng/nfs_rpc.h
3 files changed, 92 insertions(+), 0 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/62/468162/1
--
To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/468162
To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I61af621662ccf0128efb361bd90bf0f4490b0f7a
Gerrit-Change-Number: 468162
Gerrit-PatchSet: 1
Gerrit-Owner: Frank Filz <ffilzlnx(a)mindspring.com>
Gerrit-MessageType: newchange
5 years, 3 months
Change in ...nfs-ganesha[next]: FSAL_RGW - On open/create, use new handle not parent
by Daniel Gryniewicz (GerritHub)
Daniel Gryniewicz has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/467976 )
Change subject: FSAL_RGW - On open/create, use new handle not parent
......................................................................
FSAL_RGW - On open/create, use new handle not parent
In the create-on-open case, handle is the parent handle, and obj is the
new handle. Store the openflags in the new handle.
Change-Id: I1f8cdfb938f6990b26e7aa48c9040d7ae43ff025
Signed-off-by: Daniel Gryniewicz <dang(a)redhat.com>
---
M src/FSAL/FSAL_RGW/handle.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/76/467976/1
--
To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/467976
To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I1f8cdfb938f6990b26e7aa48c9040d7ae43ff025
Gerrit-Change-Number: 467976
Gerrit-PatchSet: 1
Gerrit-Owner: Daniel Gryniewicz <dang(a)redhat.com>
Gerrit-MessageType: newchange
5 years, 3 months
Turn off permission check
by QR
This is a scene between linux and windows.We need to upload directories/files in linux, and use them in windows. Everything is going well except creating/removing files.The directory/file belongs to root and the mode is 0755/0644, but the user is -2, so fsal_check_access_no_acl fail.
One work around is changing everything to 0777, but it's time consuming.So is their a way to turn off permission check in ganesha? Thanks in advance.
5 years, 3 months
Change in ...nfs-ganesha[next]: PROXY : separate export session by exportid
by Patrice LUCAS (GerritHub)
Patrice LUCAS has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/467862 )
Change subject: PROXY : separate export session by exportid
......................................................................
PROXY : separate export session by exportid
To differentiate two sessions on the same backend nfs server, this
patch adds the export id in the clientid_name field of the
EXCHANGE_ID initial operation. Previously, only the IP adress and
PID were used.
Change-Id: I4dfa77ad84eb80be998c6e930593dac95ca06026
Signed-off-by: Patrice LUCAS <patrice.lucas(a)cea.fr>
---
M src/FSAL/FSAL_PROXY/handle.c
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/62/467862/1
--
To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/467862
To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I4dfa77ad84eb80be998c6e930593dac95ca06026
Gerrit-Change-Number: 467862
Gerrit-PatchSet: 1
Gerrit-Owner: Patrice LUCAS <patrice.lucas(a)cea.fr>
Gerrit-MessageType: newchange
5 years, 3 months
Change in ...nfs-ganesha[next]: PROXY : fix from patch "Make sure utf8string is NUL ..."
by Patrice LUCAS (GerritHub)
Patrice LUCAS has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/467856 )
Change subject: PROXY : fix from patch "Make sure utf8string is NUL ..."
......................................................................
PROXY : fix from patch "Make sure utf8string is NUL ..."
The FSAL_PROXY was broken since the commit f1a4e1c4d00
"Make sure utf8string is NUL terminated everywhere".
This patch only undoes FSAL_PROXY modifications of this patch.
Change-Id: I0aba3cf81cea2fb175d10f3f44fe15a4930ead0b
Signed-off-by: Patrice LUCAS <patrice.lucas(a)cea.fr>
---
M src/FSAL/FSAL_PROXY/handle.c
1 file changed, 5 insertions(+), 4 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/56/467856/1
--
To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/467856
To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I0aba3cf81cea2fb175d10f3f44fe15a4930ead0b
Gerrit-Change-Number: 467856
Gerrit-PatchSet: 1
Gerrit-Owner: Patrice LUCAS <patrice.lucas(a)cea.fr>
Gerrit-MessageType: newchange
5 years, 3 months
Change in ...nfs-ganesha[next]: Delete SHARE state after the lock stats
by Suhrud Patankar (GerritHub)
Suhrud Patankar has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/467835 )
Change subject: Delete SHARE state after the lock stats
......................................................................
Delete SHARE state after the lock stats
The SHARE state should not be deleted before the related lock states.
Occasionally saw the assert in _state_del_locked() that
share_lockstates is not empty.
Change-Id: Ia25d048bf4bcab056e32e4e68f08e9ad675dc536
Signed-off-by: Suhrud Patankar <suhrudpatankar(a)gmail.com>
---
M src/SAL/nfs4_state.c
1 file changed, 12 insertions(+), 0 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/35/467835/1
--
To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/467835
To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: Ia25d048bf4bcab056e32e4e68f08e9ad675dc536
Gerrit-Change-Number: 467835
Gerrit-PatchSet: 1
Gerrit-Owner: Suhrud Patankar <suhrudpatankar(a)gmail.com>
Gerrit-MessageType: newchange
5 years, 3 months
Announce Push of V2.9-dev.7
by Frank Filz
Branch next
Tag:V2.9-dev.7
Release Highlights
* gss_credcache printerr: fix log level argument type
* pxy_open2: fix uninitialized use of 'rc'
* MDCACHE - Call read/write callbacks in MDCACHE context
* MDCACHE: fix lru_run thread don't get scheduling when thread_delay
adjusted to zero
* python3: favor python3 on systems that have it.
Signed-off-by: Frank S. Filz <ffilzlnx(a)mindspring.com>
Contents:
c087e37 Frank S. Filz V2.9-dev.7
f528d3b Kaleb S. KEITHLEY python3: favor python3 on systems that have it.
faf894b Wei Qiaomiao MDCACHE: fix lru_run thread don't get scheduling when
thread_delay adjusted to zero
2f1f871 Daniel Gryniewicz MDCACHE - Call read/write callbacks in MDCACHE
context
5df3a6f Dominique Martinet pxy_open2: fix uninitialized use of 'rc'
6d09301 Dominique Martinet gss_credcache printerr: fix log level argument
type
5 years, 3 months