csi-gcs icon indicating copy to clipboard operation
csi-gcs copied to clipboard

A golang service can't read directory for a mounted PV/PVC

Open livingston0318 opened this issue 2 years ago • 1 comments

I create a PV/PVC of GCS, But failed to read directory for the mounted directory by a golang script

livingston0318 avatar Oct 13 '23 09:10 livingston0318

@livingston0318 That is probably caused by the directory itself not being existent and can be solved with the implicitDir option.

See:

  • https://github.com/GoogleCloudPlatform/gcsfuse/blob/master/docs/semantics.md#files-and-directories
  • https://ofek.dev/csi-gcs/static_provisioning/#extra-flags

maennchen avatar Oct 13 '23 10:10 maennchen