Sharing folder in Files: "net usershare" returned error 255
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
Expired
|
Wishlist
|
Unassigned |
Bug Description
I'm just guessing package name since I can't simply read my way to that information in the GUI...
I'm trying to share my games folder on the network by right clicking and selecting the Share on local network option.
I tick Share this folder, and confirm. I expected the folder to be shared, but instead I get the message:
"net usershare" returned error 255: net usershare add: share name games is already a valid system user name
Ubuntu 20.10
ProblemType: Bug
DistroRelease: Ubuntu 20.10
Package: nautilus 1:3.38.1-1ubuntu1
ProcVersionSign
Uname: Linux 5.8.0-43-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu50.5
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Mon Feb 15 02:05:28 2021
InstallationDate: Installed on 2020-10-30 (107 days ago)
InstallationMedia: Ubuntu 20.10 "Groovy Gorilla" - Release amd64 (20201022)
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=sv_SE.UTF-8
SHELL=/bin/bash
SourcePackage: nautilus
UpgradeStatus: No upgrade log present (probably fresh install)
usr_lib_nautilus:
evince 3.38.0-1
file-roller 3.38.0-1
nautilus-
nautilus-share 0.7.3-2ubuntu3
affects: | nautilus (Ubuntu) → nautilus-share (Ubuntu) |
Changed in nautilus-share (Ubuntu): | |
importance: | Undecided → Low |
On Mon, Feb 15, 2021 at 04:21:02PM -0000, Launchpad Bug Tracker wrote:
> You have been subscribed to a public bug:
>
> I'm just guessing package name since I can't simply read my way to that
> information in the GUI...
>
> I'm trying to share my games folder on the network by right clicking and
> selecting the Share on local network option.
>
> I tick Share this folder, and confirm. I expected the folder to be
> shared, but instead I get the message:
>
> "net usershare" returned error 255: net usershare add: share name games
> is already a valid system user name
Well it sounds like you can't have a share with the same name as a
username, and there's a `games` user in Ubuntu by default. Pick another
share name perhaps?
--
Kind regards,
Loong Jin