NetApp / trident

Storage orchestrator for containers
Apache License 2.0
732 stars 218 forks source link

Wrong Permission on nfs pvc #865

Open Numblesix opened 7 months ago

Numblesix commented 7 months ago

Describe the bug Hello we noticed that recently the owner in the pvc seems wrong to us as its root and we would have expected it to be also the random uid.

Environment Dev

To Reproduce Create pvc based on ontap_nas backend and check perm. inside pod

Expected behavior owner and group should be same random id.

Additional context

$ ls -ald /bitnami/dokuwiki
drwxrwsrwx. 5 root 1001170000 4096 Nov  9 11:23 /bitnami/dokuwiki
$ ls -al /bitnami/dokuwiki
total 16
drwxrwsrwx.  5 root       1001170000 4096 Nov  9 11:23 .
drwxr-xr-x.  3 root       root         22 May 21 13:55 ..
drwxrwxr-x.  2 1001170000 1001170000 4096 Nov  9 11:24 conf
drwxrwxr-x. 13 1001170000 1001170000 4096 Nov  9 11:23 data
drwxr-sr-x.  5 1001170000 1001170000 4096 Nov  9 11:24 lib
$