Some observations:
I can reproduce the original error when I use caja to create a share of my Public folder ( /home/tester/Public ).
The error log at /home/tester/Public/log.net is:
"net usershare add: share name /home/tester/public contains invalid characters (any of %<>*?|/\+=;:",)"
There are two things odd about that error message:
I'm not sharing /home/tester/public. I'm sharing /home/tester/Public
There are no invalid characters with that path.
I should note that if I create the usershare manually in a terminal:
~$ net usershare add Public /home/tester/Public "" Everyone:F guest_ok=y
I get no errors and the share is created successfully:
~$ net usershare info --long [Public] path=/home/tester/Public comment= usershare_acl=Everyone:F, guest_ok=y
Some observations:
I can reproduce the original error when I use caja to create a share of my Public folder ( /home/tester/Public ).
The error log at /home/tester/ Public/ log.net is:
"net usershare add: share name /home/tester/public contains invalid characters (any of %<>*?|/\+=;:",)"
There are two things odd about that error message:
I'm not sharing /home/tester/ public. I'm sharing /home/tester/Public
There are no invalid characters with that path.
I should note that if I create the usershare manually in a terminal:
~$ net usershare add Public /home/tester/Public "" Everyone:F guest_ok=y
I get no errors and the share is created successfully:
~$ net usershare info --long tester/ Public acl=Everyone: F,
[Public]
path=/home/
comment=
usershare_
guest_ok=y