tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: net/samba4 broken for any normal user (0700 on lib/samba/private)
On 06/21, Dr. Thomas Orgis wrote:
> 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?
BTW, this was just being discussed on pkgsrc-users in the thread at:
https://mail-index.netbsd.org/pkgsrc-users/2018/05/22/msg026766.html
Lewis
Home |
Main Index |
Thread Index |
Old Index