Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Automatic samba user home directory creation

Featured Replies

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 = yes

But 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?

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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.