[Samba] Broken symlink inside a folder

Jeremy Allison jra at samba.org
Wed Apr 23 18:39:22 GMT 2008


On Fri, Apr 18, 2008 at 03:08:10PM +0000, Yahaya, Mohd Fazlee (GCM Delphi) wrote:
> Hello List,
> 
> I ran into a problem where I cannot delete a folder which looks empty to Windows, but actually got a dangling symlink inside of it. Is there any configuration option that I should turned on or off, so that I can delete the said folder? Btw, option 'follow symlinks = yes' is must for me and I'm using samba version 3.0.20.
> 
> Appreciate any thought, thanks!

There's no easy way to do this unless the symlink path (not the target) is contained
in the "veto files" option and "delete veto files" is set to yes.

Jeremy.


More information about the samba mailing list