Net usershare' returned error 255..contains invalid characters (any of %<>*?|/\+=;:",)

Hello! So I'm trying to share this folder on a brand new ZorinOS install but i get this error : 'net usershare' returned error 255: [2023/05/29 15:53:53, 0] ../../lib/util/debug.c:1100(reopen_one_log)
reopen_one_log: Unable to open new log file 'Maison/log.net': No such file or directory
net usershare add: share name /home/homeserver493/documents/maisonhsn/maison contains invalid characters (any of %<>*?|/+=;:",) And as you can see the name of the folder "Maison" in this case has no invalid characters. I tried restarting Samba, but nothing is working.

I have actually been unable to get this setup myself from the exact same thing. I never have spent the time to try and figure it out

Developer bug.

The shares.c file contains -l instead of --long. Changing it to --long should resolve the error during compilation.

2 Likes

Thanks! But where can i find the file?

I cannot find that specific file here...

Looks like this will take further digging...

This remains a mission critical bug that has not been addressed. Sharing folders and files is literally one of the main tasks of running a Linux box. Either an update in the software app or a clearly explained patch routine are needed for this, post haste.

Would they conflict if you leave the apt version installed?

Honestly do not recall ever compiling something that I already had installed from apt before.

If ZorinGroup does not make a fix in the near future I might consider doing this myself.

That is what I would have expected. Thank you.

Thanks for this solution! Hopefully, they fix this problem soon.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.