[Samba] Re: locking.tdb: expand_file ftruncate to 8192 failed (Permission denied)

Jeremy Allison jra at samba.org
Wed Sep 21 22:52:42 GMT 2005


On Thu, Sep 22, 2005 at 12:47:08AM +0200, Axel Thimm wrote:
> I tested it and it runs successfully.
> 
> Is there a chance that the fd isn't opened by root in
> set_delete_on_close?

I can't see a way this can happen. The locking tdb is only
opened by locking_init() which is called at line 879 in
smbd/server.c - we are very much root at this time.

Jeremy.


More information about the samba mailing list