Displaying 2 results from an estimated 2 matches for "smb_vfs_unlink".
2007 Apr 24
1
Re: Re: Symlinks deletion behaviour
...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.
>
2007 Mar 18
1
Symlinks deletion behaviour
Hi List, hi Samba-team,
Recently I've faced some problem with directories deletion trough Samba and trying to clarify the root cause. The following happens:
1. There is a directory my_dir and symlink to it my_dir_link
drwxrwsr-x 48 myuser mygroup 20480 Mar 18 21:53 .
drwxr-xr-x 33 root root 0 Feb 28 17:37 ..
drwxr-sr-x 2 myuser mygroup 4096 Mar 18 21:47 my_dir
lrwxrwxrwx 1