chesed82

updated

5 years ago

C

chesed82

10 Posts

0

1133

June 24th, 2021 19:00

Can I change the default permissions of Unity NFS FileSystem?

By default, permission of Unity NFS filesystem is root/755, so non-root Pod cannot write the data when using Unity NFS PVC.

Generally, the permission can be changed by chown and chmod using initContainer, but the permission cannot be changed through initContainer due to the Security Context Constrain (SCC) in the Red Hat Openshift environment.

Is there any other way to change the permissions of the Unity NFS file system without initConatiner?

For reference, I think the permissions of unity nfs filesystem should be 777 in Kubernetes environment by default. The NFS permission of Isilon and PowerStore is 777.

  • Thar_J

    42 Posts

    911

    0

    Posted June 25th, 2021 06:00

    Hi @chesed82 

    We recommend upgrading the driver version to the current one CSI-Unity 1.6 and let us know if the same issue persists. 

    Regards

    Thar_J

     

     

     

     

     

     

  • chesed82

    10 Posts

    875

    0

    Posted June 29th, 2021 22:00

    You're right. It works well. Great!

    Thank you.

  • Thar_J

    42 Posts

    870

    0

    Posted June 30th, 2021 00:00

    Hi @chesed82 

    Glad to hear it worked.  Is there anything else that I can help you with, kindly let me know?.

    Regards

    Thar_J