Open anandhu-karattu opened 2 weeks ago
@anandhu-karattu I didn't add it yet, this is a duplicate of https://github.com/noobaa/noobaa-core/issues/8240. Currently, we check only if the bucket storage path exists, and not if the owner of the bucket has access to the bucket's path.
Environment info
Actual behavior
This test includes parameter "NC_DISABLE_ACCESS_CHECK=true"
Expected behavior
Steps to reproduce
set "NC_DISABLE_ACCESS_CHECK=true"
Create an account with proper access to its newbuckets path. (account-3)
Create a new directory with owner as root and mod bits 770 [root@522new-41 ~]# ls -ld /mnt/gpfs0/buck3/ drwxrwx---. 2 root root 4096 Oct 3 11:20 /mnt/gpfs0/buck3/
Create a bucket with account-3. This succeeds as the RW access check is turned off.
Change "NC_DISABLE_ACCESS_CHECK=false"
All other accounts with no access to --newbuckets path are shown as error. However buck3 is not showing any error as part of health check.
More information - Screenshots / Logs / Other output