[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mv trailing slash warning
From: |
Paul Eggert |
Subject: |
Re: mv trailing slash warning |
Date: |
Wed, 28 Sep 2005 15:23:19 -0700 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) |
Jim Meyering <address@hidden> writes:
> Do you know of a system where `rmdir symlink/'
> removes only the referent of the symlink?
Lots of systems do that, I expect. Solaris 10 does, for example.
This is either with Solaris rmdir or coreutils 5.3.0 rmdir.
I wouldn't be surprised if core commands other than mv and rmdir are
affected by this issue as well. rm and ln come to mind, though I
haven't tested them.
Here's a transcript on Solaris 10 (sparc) with coreutils 5.3.0:
1018-otter $ ls -l
total 2
drwxrwxr-x 2 eggert faculty 512 2005-09-28 15:18 dir
lrwxrwxrwx 1 eggert faculty 3 2005-09-28 15:18 symlink -> dir
1019-otter $ rmdir symlink/
1020-otter $ ls -l
total 1
lrwxrwxrwx 1 eggert faculty 3 2005-09-28 15:18 symlink -> dir
- Re: mv trailing slash warning, (continued)
- Re: mv trailing slash warning, Dr. David Alan Gilbert, 2005/09/26
- Re: mv trailing slash warning, Eric Blake, 2005/09/27
- Re: mv trailing slash warning, Jim Meyering, 2005/09/28
- Re: mv trailing slash warning, Paul Eggert, 2005/09/28
- Re: mv trailing slash warning, Jim Meyering, 2005/09/28
- Re: mv trailing slash warning, Paul Eggert, 2005/09/28
Re: mv trailing slash warning, Eric Blake, 2005/09/28
Re: mv trailing slash warning, Eric Blake, 2005/09/28
Re: mv trailing slash warning, Eric Blake, 2005/09/28
Re: mv trailing slash warning, Eric Blake, 2005/09/28