# Change directory failed: Permission denied Logging in with home = "/"

**URL:** <https://forums.rockylinux.org/t/change-directory-failed-permission-denied-logging-in-with-home/14573>\
**Category:** Rocky Linux Help & Support\
**Tags:** rocky-linux-8\
**Created:** [June 12, 2024, 9:39am UTC](https://forums.rockylinux.org/t/change-directory-failed-permission-denied-logging-in-with-home/14573 "2024-06-12T09:39:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![beppe](https://avatars.discourse-cdn.com/v4/letter/b/5f8ce5/32.png) [@beppe](https://forums.rockylinux.org/u/beppe)\
**Post date:** [June 12, 2024, 9:39am UTC](https://forums.rockylinux.org/t/change-directory-failed-permission-denied-logging-in-with-home/14573/1 "2024-06-12T09:39:07Z")

</div>

I created 3 Rocky Linux 8 VMs, a frontend machine and two nodes. The frontend have two network interfaces, one towards the outside (with access to the public network) and the other towards the private intracluster network, created specifically for the communication between frontend and computing nodes.

Compute nodes have only one network interface, configured on the intracluster network, and can access the public network using the frontend as a gateway.

On the frontend machine, I need to create three users, each of which will have their own local home directory.

The same three users will also have to be created on the computing nodes, but in this case their home will not be physically on the node, although visible under /home, but on the frontend.

Users will be able to access their data, for reading and writing, both from the frontend and from the computing nodes.

I mounted nfs mixing this guides:

> **[How to Set Up an NFS Mount on Rocky Linux 8 | DigitalOcean](https://www.digitalocean.com/community/tutorials/how-to-set-up-an-nfs-mount-on-rocky-linux-8#step-5-creating-mount-points-and-mounting-directories-on-the-client)**
>
> In this guide, we’ll go over how to install the software needed for NFS functionality on Rocky Linux 8, configure two NFS mounts on a server and client, and …

> **[Configuring firewalld for NFS Connections | Baeldung on Linux](https://www.baeldung.com/linux/firewalld-nfs-connections-settings)**
>
> Learn how to configure firewalld on an NFS server.

Everything works fine except for this problem when i try to login as userX on a computing node:

![change directory failed](https://us1.discourse-cdn.com/flex020/uploads/rockylinux/original/2X/f/f67d5b7d33bb651df71350f2b3b7dbbe0ad6080d.png)

I’m new to Linux so sorry if i miss something or i made any mistake in explanation

---

<div class="post-metadata">

**Author:** ![quartsize](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/quartsize/32/3787_2.png) [@quartsize](https://forums.rockylinux.org/u/quartsize)\
**Post date:** [June 12, 2024, 8:20pm UTC](https://forums.rockylinux.org/t/change-directory-failed-permission-denied-logging-in-with-home/14573/2 "2024-06-12T20:20:34Z")

</div>

What is the output of `namei -l /home/utente1` from `cn01`?

---

<div class="post-metadata">

**Author:** ![beppe](https://avatars.discourse-cdn.com/v4/letter/b/5f8ce5/32.png) [@beppe](https://forums.rockylinux.org/u/beppe)\
**Post date:** [June 13, 2024, 7:14am UTC](https://forums.rockylinux.org/t/change-directory-failed-permission-denied-logging-in-with-home/14573/3 "2024-06-13T07:14:05Z")

</div>

Hi quartsize, this is the output

![namei cn01](https://us1.discourse-cdn.com/flex020/uploads/rockylinux/original/2X/e/e41c3497dd9a8574129b91ed5932ebcf609ce0ca.png)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/rockylinux/original/1X/91b7219eec10e30013422e4df76c1d898711a5d5.svg) [@system](https://forums.rockylinux.org/u/system)\
**Post date:** [August 12, 2024, 7:14am UTC](https://forums.rockylinux.org/t/change-directory-failed-permission-denied-logging-in-with-home/14573/4 "2024-08-12T07:14:36Z")

</div>

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