# NFS4 directory access error

**URL:** <https://discourse.openondemand.org/t/nfs4-directory-access-error/3040>\
**Category:** Get Help\
**Tags:** question\
**Created:** [October 23, 2023, 4:30pm UTC](https://discourse.openondemand.org/t/nfs4-directory-access-error/3040 "2023-10-23T16:30:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![maflister](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/maflister/32/139_2.png) [@maflister](https://discourse.openondemand.org/u/maflister)\
**Post date:** [October 23, 2023, 4:30pm UTC](https://discourse.openondemand.org/t/nfs4-directory-access-error/3040/1 "2023-10-23T16:30:31Z")

</div>

We are seeing some issues when accessing a directory that contains files/dirs with NFS4 perms applied. We see an error in the Files app, `ERROR "Permission denied @ rb_file_s_lstat - /dir/w/nfs4/perms"`, when user first attempts to access the parent dir. Moreover, the user gets a white screen, where no directories are displayed. If we SSH to OnDemand server and do `ls` on that parent dir `nfs4`, then the OnDemand files app works without issue. The error returns again after an unknown amount of time.

To be clear, the user should not have access to the `perms` directory. But we’d expect it to be displayed when accessing the `nfs4` dir, and an access error when trying to access the `perms` dir itself.

We’re using OOD 2.0.27.

Thanks!

---

<div class="post-metadata">

**Author:** ![jeff.ohrstrom](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jeff.ohrstrom/32/136_2.png) [@jeff.ohrstrom](https://discourse.openondemand.org/u/jeff.ohrstrom)\
**Post date:** [October 24, 2023, 1:25pm UTC](https://discourse.openondemand.org/t/nfs4-directory-access-error/3040/2 "2023-10-24T13:25:12Z")

</div>

That sounds very strange to me, though there could just be a bug in 2.0.x.

I’ll look into reproducing in 3.0.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/osc/original/2X/b/bae70bd0ed39a3ae769c2108155f4cb3e9da8385.png) [@system](https://discourse.openondemand.org/u/system)\
**Post date:** [April 21, 2024, 1:26pm UTC](https://discourse.openondemand.org/t/nfs4-directory-access-error/3040/3 "2024-04-21T13:26:13Z")

</div>

Closed on April 21, 2024, 1:26pm UTC

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
