Bug ID 1043115
Summary "net usershare list" only usable by root
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Samba
Assignee samba-maintainers@SuSE.de
Reporter stefan.bruens@rwth-aachen.de
QA Contact samba-maintainers@SuSE.de
Found By ---
Blocker ---

Currently, it is not possible to run net usershare list or any other net
command as nonpriviledged user.

$> net usershare info
Failed to init messaging context

According to strace, it fails when trying to create a lock:
open("/var/lib/samba/lock/msg.lock/18128", O_RDWR|O_CREAT|O_NONBLOCK, 0644) =
-1 EACCES (Permission denied)

$> ls -ld /var/lib/samba/lock/msg.lock
drwxr-xr-x 1 root root 40 Jun  7 12:26 /var/lib/samba/lock/msg.lock

$> rpm -q samba samba-client
samba-client-4.6.3+git.25.0c154becb13-1.2.x86_64
samba-4.6.3+git.25.0c154becb13-1.2.x86_64


You are receiving this mail because: