Samba 3.0 - Bug preventing mkfifo as non-root
trudheim at gmail.com
Sun Jan 21 22:11:14 GMT 2007
On Sun, 2007-01-21 at 13:34 -0800, Jeremy Allison wrote:
> On Sun, Jan 21, 2007 at 09:20:29PM +0000, Anders Karlsson wrote:
> > > 4253
> > > 4254 if (tran_call ==
> > > TRANSACT2_SETFILEINFO)
> > > 4255
> > > return(ERROR_DOS(ERRDOS,ERRnoaccess));
> > > 4256
> > This is where it drops out.
> So the version of the client you're using is sending
> a trans2 call with level TRANSACT2_SETFILEINFO (0x8)- which
> requires a 16-bit fnum, not a unicode path name.
> The level required is TRANSACT2_SETPATHINFO (0x6)
> as this sends a pathname.
> Obviously if we have no pathname we can't do a
> mknod call which requires a pathname argument.
True. It fails on the same spot if I do 'cd /mnt/test ; mkfifo foo' in
case that helps anything.
> This is a client bug of some kind - one I'm not
> seeing in the latest CIFSFS client code.
So somewhere between 3.0.23d and HEAD there is a fix for this? If the
fix happened in the client between those points, it narrows down
considerably the code I'll need to look through to understand the fix.
Anders Karlsson <trudheim at gmail.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3838 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20070121/cef3e95a/smime.bin
More information about the samba-technical