March 4Mar 4 I was wondering if it is possible to create home directories for each user when creating them? It was a feature that was used heavily on my QNAP device, but as that software literally took 30-45mins for reboot sequence, I had to just put it back onto Unraid (also Unraid uses so much less resources!). I have created a share directory called home_dirs on my SSDs (which is my pool device) and left that public and exported but hidden. Under samba extra config I created:[homes] comment = Home Directories valid users = %U browseable = yes writable = yes create mask = 0700 directory mask = 0700 path = /mnt/user/home_dirs/%U vfs objects = catia, fruit, streams_xattr case sensitive = auto preserve case = yes short preserve case = yesBut this seems not to be working. I created the folders manually, chmod 700 each of them and chown each folder as needed. What am I missing?
March 4Mar 4 Not something I have tried but I suspect that the %U is not being recognised. Maybe someone else has done this and can share how they got it working. When I tried to google it then it seemed to suggest that you could use %S (rather than %U) for Linux users, but that for Windows users you had to set them all up individually.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.