[Pkg-samba-maint] DO NOT REPLY [Bug 6853] mount.cifs race that allows user to replace mountpoint with a symlink

samba-bugs at samba.org samba-bugs at samba.org
Sun Feb 7 20:38:58 UTC 2010


https://bugzilla.samba.org/show_bug.cgi?id=6853





------- Comment #16 from jlayton at samba.org  2010-02-07 14:38 CST -------
Sorry, I think I misunderstood what you were saying...

You seem to be advocating adding a new config file altogether for mount.cifs
with the express purpose of disabling this setuid check.

I think you may be better served by asking your distro packager to patch out
that behavior. If patching is too much of a pain, then I'd certainly be
amenable to a new autoconf option to turn off this check at build time.

I'm not altogether opposed to a config file for mount.cifs -- mount.nfs got one
recently so there is some precedent here. I don't forsee myself spending a lot
of time on adding one however, and that's really a separate feature request.

The bright side of this is that I'm working on a series of patches to make
mount.cifs setuid-root safe. Once that's finished and in place, there won't be
need for this check (or for people to patch it out).

All things considered, I'd rather spend my time working on that since it's a
better long term solution.


-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the Pkg-samba-maint mailing list