[OpenAFS] Re: Why does 'fs rmm' not resolve symlinks?
Wed, 21 Apr 2010 09:22:33 -0500
On Wed, 21 Apr 2010 15:41:01 +0200
Arne Wiebalck <firstname.lastname@example.org> wrote:
> Looking into the code of fs I see that 'lsm' resolves
> symlinks before the stat pioctl, while 'rmm' does not.
> Is there any particular reason for this?
You would rather it remove the target of the symlink? 'rm' and 'rmdir'
don't work like that, either.
$ mkdir foo.dir
$ ln -s foo.dir foo.link
$ rmdir foo.link
rmdir: foo.link: Not a directory