[27000] in Athena Bugs
sun4 9.4.23: delete
daemon@ATHENA.MIT.EDU (Jonathan D Reed)
Wed Nov 8 14:58:43 2006
Message-Id: <200611081958.kA8JwDqF006408@mass-toolpike.mit.edu>
To: bugs@mit.edu
Date: Wed, 08 Nov 2006 14:58:13 -0500
From: Jonathan D Reed <jdreed@mit.edu>
X-Spam-Score: -5.599
X-Spam-Flag: NO
Errors-To: bugs-bounces@mit.edu
System name: mass-toolpike.mit.edu
Type and version: Sun-Fire-V440 9.4.23 (with mkserv)
Display type: unknown
Shell: /bin/athena/tcsh
Window manager: unknown
What were you trying to do?
Delete a directory in AFS specified with a trailing slash.
What's wrong:
mass-toolpike:~%delete tmp/
delete: tmp/: Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS
What should have happened:
It should have either deleted the directory, or complained about
the fact that a specified it with a trailing slash. Given that
tab-completion results in the directory name having a trailing
slash, it would be nice if it gave a better error message.
Please describe any relevant documentation references:
It behaves correctly on Linux:
infinite-loop:~%delete tmp/
delete: tmp/: Invalid argument
It also seems to behave correctly outside of AFS on Suns:
mass-toolpike:/tmp% delete del/
delete: del/: Invalid argument