[Samba] locks directory over nfs
jra at samba.org
Thu Feb 26 22:54:26 GMT 2004
On Thu, Feb 26, 2004 at 04:40:31PM +0200, Alon Shalita wrote:
> After doing some strace on the code, we saw the smbd is trying to change
> the locking.tdb file when running in user permissions. Our guess is that
> the server opens the file when running as root, switch to the calling
> user (setuid) and then accesses the file again. This works fine with a
> local disk but not with NFS where permissions are checked on every access.
> We saw this behavior on samba 3.0.1 and 3.0.2a, on i386 linux machine.
> Is it a bug in samba ?
Hmmm - don't think so. It means NFS is not obeying POSIX
semantics. Move your locking tdb onto a local drive.
More information about the samba