tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

net/samba4 broken for any normal user (0700 on lib/samba/private)



Hi folks,

I just had to debug someone trying to use qemu with the SMB host/guest
folder sharing. This needs a smbd from net/samba4 to talk the protocol.
Samba installs libraries into lib/samba/private/. The only private
thing about these seems to be that other programs should not rely on
them. But any user wanting to start any tool from the Samba suite (e.g.
smbclient) needs access to them.

Why, then, do we have this in net/samba4/Makefile?

Makefile:OWN_DIRS_PERMS=	${SMB_PRIVATE} ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 0700

It totally kills any non-root usage of Samba tools.

Any reason this should not be fixed?


Alrighty then,

Thomas

-- 
Dr. Thomas Orgis
Universität Hamburg
RRZ / Basis-Infrastruktur / HPC
Schlüterstr. 70
20146 Hamburg
Tel.: 040/42838 8826
Fax: 040/428 38 6270

Attachment: smime.p7s
Description: S/MIME cryptographic signature



Home | Main Index | Thread Index | Old Index