Fresh install of Zorin OS and trying to create a network share but receiving the following error:
net usershare' returned error 255: [2023/04/06 11:30:03, 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/apt/desktop/shared contains invalid characters (any of %<>*?|/\+=;:",)
There are no special characters in the filename or directory structure, I've tried creating a share from a folder within my home folder (root, documents, desktop) and the same issues occurs.
There also doesn't seem to be any UI for configuring sharing with Zorin, just screen and media within the Sharing settings. From a new user perspective this isn't a great start especially if I'm expected to start messing with config files to get basic things working.
Hope someone can provide support as overall I'm liking what I see, just hitting a brick wall with this.
I'm new to Linux so I don't know how to do the solution they describe. I've tried running this command but the machine itself doesn't even show up on the network (from my other Windows machine) :
This is definitely something that should be looked into. I actually had this problem myself yesterday on my desktop and laptop with Zorin Core. Have not spent the time to find a solution yet. If I do I will post it here.
Hey folks, new linux user moving from Windows after 25+ years. I went with Zorin because it was touted as easy for Windows converts. I have the same issue
"'net usershare' returned error 255: [2023/05/27 08:28:33, 0] ../../lib/util/debug.c:1100(reopen_one_log)
reopen_one_log: Unable to open new log file 'test folder/log.net': No such file or directory
net usershare add: share name /mnt/seagatebud/test folder contains invalid characters (any of %<>*?|/+=;:",)"
that folder has 1 text file with the text "test file 1" in it. As you can see no special files. If something as simple as trying to share a folder accross my own network is this difficult, what are we to do? BTW, I am using Zorin Pro 16.2 fully updated and have used the following links to try and resolve the issue:
I will say this, this problem is my biggest one and is keeping me from ditching Windows completely. I truly want to learn and if there is something else to be tried, I will gladly do so. When / IF I figure this out, I will create a detailed step by step document including screen shots for everyone.
Agreed. This is a critical bug that cripples one of the main uses of a Linux box. This needs a documented fix now. There seems to be a clear awareness of what the problem is on Github, but no meaningful fix or documentation for we normies as yet.
UPDATE: Confirmed that this problem is caused by the version of Ubuntu samba that is bundled with the Zorin core ISO.
If someone has a clear guide on how to update those components to any version above or below the broken one, the problem will be resolved.
Its the Ubuntu samba that is the problem. The version shipping in the ISO is broken and needs a later version to fix this problem. How to do this, is beyond me!
How did you confirm this? I am not saying your are incorrect in this; but the package in the main repository being incorrect is kind of a big deal.
That would need to be addressed and corrected.
It was a torture trial to find it, but GitHub had the answer. They documented that the samba version shipping with the ISO is the same as the one that had the error in the way it handles the sharenames. It is literally only 1 or two wrong characters, but it effectively breaks the whole thing. I can't find the version number at the moment, (no access to the machine right now) but it was 14.something. 16 and higher don't have the problem. And yes, it is a HUGE deal that the repository is wrong. I would have thought this would have come to their attention a lot quicker.
Aravisian: I'm setting up a number of Zorin Core boxes at my workplace. They will need to share folders and files on a Windows network. All these boxes are setup from scratch, completely fresh. All with the same samba issues. Tried the latest versions of Mint and Ubuntu and had no issues with sharing. They ARE using a newer version of Ubuntu samba that Zorin. Then saw the Github discussion about needing to patch that version to correct issue with the -l argument when it should be --long instead. Let me know if you need some more info.
Above I have alerted the ZorinGroup to this issue.
In the meantime, python3 may be needed creating a situation of a Tricky Install. Let's wait on that briefly until the ZorinGroup has a chance to review.