I have some questions about how home directories are presented.
Coming from Synology, enabling home directories does the following:
- Creates a "homes" directory in the data root.
- Creates <username> directories in the homes directory created above.
- Presents the share \\nas\homes mapped to <data root>/homes to administrators who can browse all the sub home directories.
- Presents the share \\nas\home mapped to <data root>/homes/<username> to each respective user (who ordinarily will not be able to browse other homes).
I tried to replicate a similar behaviour in OMV (assume a new installation):
- Create a new shared folder called "homes".
- Activate "user home directory", selecting the above share.
- Create one or more users.
- Add the shared folder homes to the SMB shares list.
It might be of note that I didn't add/remove any special permissions - I literally clicked okay through everything.
This resulted in the following:
- Creates a "homes" directory in the data root.
- Creates <username> directories in the homes directory created above.
- Presents the share \\nas\homes mapped to <data root>/homes to everyone, each of whom can browse other user directories.
- Presents the share \\nas\<username> mapped to <data root>/homes to everyone, each of whom can browse other user directories.
That last one is really unusual, as you end up with \\nas\<logged in username>\<any created user> in the file tree, so for foo:
- \\nas\foo\foo
- \\nas\foo\bar
and for bar:
- \\nas\bar\foo
- \\nas\bar\bar
Needless to say, this all seems very wrong :). I'm almost certain I've done something incorrect.
Is there a standard way of creating users with home directories, and even better, for them to demonstrate a more intuitive behaviour (with a dynamic "home" share per user)?