Skip to content

Calling "net usershare" returned error 255

I am unable to share ANY folder from Thunar:

Calling "net usershare" returned  error 255: [2022/01/22 17:25:39,0] ../../lib/util/debug.c:1100(reopen_one_log)
reopen_one_log: Unable to open new log file 'shared/log.net': No such file or directory
net usershare add: share name /home/gerd/shared contains invalid characters (any of %<>*?|/\+-=;:,)

Looks like there is one parameter passed to net usershare incorrect: Instead of -l, the program expects --long.

Please fix.