yes,thank you very much.
I add "guest account" to the [global], then I can visit the /home/vm/share now.
it works all good.
thanks for your information.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
Ok, that's a different issue, and a configuration one. You have to check
the file permissions on /home, /home/vm and /home/vm/share and make sure
the user guest is mapped to on the server can access those directories
and the files in it. To find out which linux user on the server that is,
check
'net usershare' returned error 255: this works ok.
guest can not visit the share path /home/vm/share, but able to visit /var/samba.
the same /etc/samba/smb.conf works on ubuntu21,20,18,16.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to
** Attachment removed: "_16494866354113.png"
https://bugs.launchpad.net/ubuntu/+source/nautilus-share/+bug/1967245/+attachment/5578529/+files/%E4%BC%81%E4%B8%9A%E5%BE%AE%E4%BF%A1%E6%88%AA%E5%9B%BE_16494866354113.png
** Attachment added: "20220409145644.jpg"
'net usershare' returned error 255: this works ok.
guest can not visit the share path /home/vm/share, but able to visit /var/samba.
the same /etc/samba/smb.conf works on ubuntu21,20,18,16.
** Attachment added: "企业微信截图_16494866354113.png"
This bug was fixed in the package nautilus-share - 0.7.3-2ubuntu6
---
nautilus-share (0.7.3-2ubuntu6) jammy; urgency=medium
* d/p/05_usershare_cmdline_new_samba.patch: update net usershare
command-line for samba 4.15.x (LP: #1967245)
-- Andreas Hasenack Mon, 04 Apr 2022
** Merge proposal linked:
https://code.launchpad.net/~ahasenack/ubuntu/+source/nautilus-share/+git/nautilus-share/+merge/418382
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1967245
Title:
'net
** Tags added: jammy
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1967245
Title:
'net usershare' returned error 255 on jammy-desktop-amd64
To manage notifications about this bug go to:
** Package changed: samba (Ubuntu) => nautilus-share (Ubuntu)
** Changed in: nautilus-share (Ubuntu)
Status: New => Confirmed
** Changed in: nautilus-share (Ubuntu)
Assignee: (unassigned) => Andreas Hasenack (ahasenack)
** Changed in: nautilus-share (Ubuntu)
Status: Confirmed
Ok, the was passed as an empty space, I missed that in my copy
paste. This works:
root@nsn7:~# net usershare add --long Public /home/andreas/Public ""
Everyone:R,andreas:F guest_ok=y
[Public]
path=/home/andreas/Public
comment=
usershare_acl=Everyone:R,Unix User\andreas:F,
guest_ok=y
Now on
execsnoop tells me this is the command being run:
net 5212 3561 0 /usr/bin/net usershare add -l Public
/home/andreas/Public Everyone:R,andreas:F guest_ok=y
or this, without guest access:
net 5779 3561 0 /usr/bin/net usershare add -l Public
Is this what you saw?
** Attachment added: "Screenshot from 2022-04-04 09-46-42.png"
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1967245/+attachment/5576862/+files/Screenshot%20from%202022-04-04%2009-46-42.png
--
You received this bug notification because you are a member of Ubuntu
12 matches
Mail list logo