# Could not chdir to home directory

**URL:** <http://hpc-community.unige.ch/t/could-not-chdir-to-home-directory/3039>\
**Category:** HPC issues\
**Created:** [September 14, 2023, 8:43am UTC](http://hpc-community.unige.ch/t/could-not-chdir-to-home-directory/3039 "2023-09-14T08:43:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michail.Henry](http://hpc-community.unige.ch/letter_avatar_proxy/v4/letter/m/67e7ee/32.png) [@Michail.Henry](http://hpc-community.unige.ch/u/Michail.Henry)\
**Post date:** [September 14, 2023, 8:43am UTC](http://hpc-community.unige.ch/t/could-not-chdir-to-home-directory/3039/1 "2023-09-14T08:43:32Z")

</div>

Dear HPC team,

Username: henrymi2  
Cluster: Yggdrasil

When connecting to the login node (ssh command), the following error is shown :

> Could not chdir to home directory /home/users/h/henrymi2: Permission denied  
> -bash: /home/users/h/henrymi2/.bash\_profile: Permission denied

## Steps to Reproduce

(Macbook with zsh shell)

```auto
> ssh henrymi2@login1.yggdrasil.hpc.unige.ch
> (henrymi2@login1.yggdrasil.hpc.unige.ch) Password:
...
monitoring and documentation: http://baobab.unige.ch
 support: hpc@unige.ch
Could not chdir to home directory /home/users/h/henrymi2: Permission denied
-bash: /home/users/h/henrymi2/.bash_profile: Permission denied
(yggdrasil)-[henrymi2@login1 /]$ 

```

## Expected Result

I am a newbie but I guess after login I should have access to my directory and be able (from my mac) to send files to my home directory using `scp` without having the error _Permission denied_.

Thank you in advance

Michail

---

<div class="post-metadata">

**Author:** ![Gael.Rossignol](http://hpc-community.unige.ch/user_avatar/hpc-community.unige.ch/gael.rossignol/32/206_2.png) [@Gael.Rossignol](http://hpc-community.unige.ch/u/Gael.Rossignol)\
**Post date:** [September 14, 2023, 9:38am UTC](http://hpc-community.unige.ch/t/could-not-chdir-to-home-directory/3039/2 "2023-09-14T09:38:24Z")

</div>

Hello,

The owner of the home directory was not set correctly. This is now corrected for you, I will check what cause the issue.

Best,
