All available options for an occ command are usually shown by appending the –help switch to it, like e.g.:
> ./occ user:setting --help
Usage:
user:setting [options] [--] <uid> [<app>] [<key>] [<value>]
Arguments:
uid User ID used to login
app Restrict the settings to a given app [default: ""]
key Setting key to set, get or delete [default: ""]
value The new value of the setting
Afaik it is not possible to change the home directory for a single user as you tried it, but you can e.g. use the external storage app which is described here:
Thank you for taking time to answer. I have studied the provided ticket and links before. I would love to use the external storage app system for this, but I can not get it to work as the root data storage for a user. Can you help me?
I want to use my NFS user folder as the / root data folder for the user, apache/httpd user has access to all the home shares, but the nextcloud user should only have access to its own home folder.
How can use configure an external storage as a / root for an user and have it dynamic so it depends on the username what path it takes?