linuxmint / linuxmint/nemo-extensions
net usershare returned error 255
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 486
- Forks
- 172
- PR merge metrics
- No merged PRs in 30d
Description
Distribution
LM20.3 cinnamon
Package version
5.2.4
Frequency
Always
Bug description
Fresh install of LM20.3, then fully updated. Installed samba from software manger. Then shared my public folder, resulting in the error message in the title.
A file log.net was created in ~/Public with the content:
net usershare add: share name /home/andy/public contains invalid characters (any of %<>*?|/\+=;:",)
Further details can be found here:
https://forums.linuxmint.com/viewtopic.php?p=2357813#p2357813
Steps to reproduce
As in the description
Expected behavior
For it to behave like it always has, i.e. work, in all previous versions of mint and in the current LM21. As part of a fresh install I routinely share ~/Public.
Additional information
Suspect irrelevant but LM installed on a thinkpad T430.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure on LM20.3 with package version 5.2.4, using Nemo to share ~/Public and inspecting the generated ~/Public/log.net output. Trace the net usershare invocation and determine why the path is rejected; done means sharing ~/Public succeeds without error 255 or the invalid-characters message.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100