Bug #40425
open[librgw]Can't get the correct the Unix file attribute of root node
0%
Description
Using the function "rgw_mount2" to mount a bucket or root "/" and then calling the function "rgw_getAttr(fs, fs->root_fh)" to get stat mode will always get the same Unix stat mode (root/root rwxrwxrwx). The mounting root point's Unix attribute meta data may not get correctly.
Reproducing Step:
(1) NFS Server used the NFS-Ganesha in RGW mode and exported a root "/" to NFS client.
(2) NFS Client mounted the root folder and then created a folder(Bucket) "mount" with not root owner and group id and Unix mode rwxrwx___.
(3) Another NFS Client can see this folder(Bucket) "mount" with the same owner id, group id and Unix mode.
(4) NFS Server exported "/mount" and NFS clients mounted this exporting point. But NFS Clients saw the folder with root/root rwxrwxrwx.
The attachemnt is the NFS-Ganesha config file
Files
No data to display