I don't get your point here. It will just remove the symlink.
[zugzug 3086] cd /tmp ; touch x ; ln -s x y ; ls -lgd x y ; \rm -rf y ; ls -lgd x y
-rw-r--r-- 1 adam staff 0 Oct 4 21:41 x
lrwxrwxrwx 1 adam staff 1 Oct 4 21:41 y -> x
y not found
-rw-r--r-- 1 adam staff 0 Oct 4 21:41 x
->> + umask 022; \
->> + mkdir $$TMPDIR; \
->> + if [ $$? -ne 0 ]; then \
->> + echo "$0: Can't create temp dir $$TMPDIR, exiting..."; \
->> + exit 1; \
->> + fi; \
->
->And this is a denial of service attack
Well, in my case if someone plays DOS with me, and I can prove it, I
delete their accounts, instead of ignoring them.
Adam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/