Yahaya, Mohd Fazlee (GCM Delphi)
2008-Apr-23 14:06 UTC
[Samba] Broken symlink inside a folder
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! Fazlee
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.