The path to the directory that is to be shared. If this parameter is not specified, the share will be based on the user’s home directory. The path parameter can be an absolute path or a relative path. If a relative path is specified, it will be interpreted relative to the current working directory of the user who is connecting to the share.
In Samba 4.14 and later, the path parameter must be an absolute path. This is because the path parameter is now used to specify the exact location of the share directory. Variables are not allowed in absolute paths.`