1

On a Synology NAS with DSM 7.0 I have created through the Graphical UI a dedicated admin user (as recommended in Synology's setup procedure), then I have enabled ssh login and now I can ssh into the Synology. So far so good. However when logging in via ssh I get a strange message before the prompt appears:

Could not chdir to home directory /var/services/homes/<my-admin-user>: No such file or directory

Why's this happening? Is the DSM 7 operation system of my NAS not properly configured?

And how do I fix it? Do I just create the user's home directory?

Additional info

The path /var/services/homes exists, but it is a symlink to /volume1/@fake_home_link which does not exist.

halloleo
  • 123
  • 7

2 Answers2

1

Go to "Control Panel > User & Group > Advanced > User Home" and check "Enable user home service" before persisting it with "Apply".

user1225999
  • 126
  • 1
1

This error message indicates that the system is unable to change to the specified home directory for the specified user, because the directory does not exist. It could be that the folder /var/services/homes/<my-admin-user> is missing or the user might not have permission to access the directory. It could also be that the directory is spelled incorrectly.

You should check if the directory path exists and if the user have the permission to access it, if not you can create the directory and give the user permission to access it.