Multiple local storage access to users' own areas

Just looking for input from anyone who may have required this and is really a ‘call for suggestions’ from me more than a support issue.

I have Linux servers where I often will have Samba set up for Windows user access to Linux hard drives. I then use the local storage facility to give cloud users access to the Samba area - very handy for people who work on files from the LAN then leave the office and still need access to what they worked on in the LAN.

One thing I do notice is that there is only one local storage option that can be defined by the NextCloud admin user. Once a local storage has been defined, it appears I cannot further define more? I could be wrong and this is just my lack of experience with this setup?

Here is the scenario I have: a central Samba admin user will access the ‘root’ primary files storage directory (eg., /u/samba) and then ‘user’ or ‘customer’ sub-directories will be created under the ‘root’ area directory. I then would like to point specific cloud users at their own user/customer directory so they can access whatever files the Samba admin user places there (these will be read-only for the cloud user and I already have this at one location but for only the one local storage directory on the server (eg., /u/samba/Cloud_Files)… I am after the best method/practice to have files for each user/customer accessible by the respective cloud user.
My sincere apologies if this has been a question asked before and after posting this I will continue to dig for multiple local storage capabilities pointing to specific Linux directories (eg., /u/samba/customer/customer1, /u/samba/customer/customer2 etc).
I ‘can’ just create Samba users and then use SMB to access the respective folders… but for me it is much more logical to point each user at its own local storage… my thinking comes from being at a UNIX/Linux prompt since 1987 :slight_smile:
Many thanks in advance for any pointers.

You can define as many as you want. The screen where you added the first you can add more below it:

https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/external_storage/local.html

You also might find this feature of interest:

https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/external_storage_configuration_gui.html#usage-of-variables-for-mount-paths