[Samba] Re: Symlinks deletion behaviour

Jeremy Allison jra at samba.org
Mon Apr 16 21:50:06 GMT 2007


On Mon, Mar 19, 2007 at 02:36:23PM +0300, Alexander wrote:
> Hi all,
> 
> Further investigation with strace shows that Samba tries to use rmdir() syscall to delete the link which naturally fails with "Not a directory" as it should according to man.
> 
> However, looking at usual "rm -r" behaviour shows that it uses unlink(). Samba does not (while there's some  SMB_VFS_UNLINK) in rmdir_internals. Is there any bug or a feature which I don't realize?
> 

This should be fixed for 3.0.25rc2, due out this week.
Please re-test and let me know.

Jeremy.


More information about the samba mailing list