Messages in this thread | | | Date | Mon, 24 Nov 2003 13:16:30 -0800 (PST) | From | Linus Torvalds <> | Subject | Re: hard links create local DoS vulnerability and security problems |
| |
On Mon, 24 Nov 2003, Andy Lutomirski wrote: > > Right... but non-privileged users _can't_ delete these extra links, even > if they notice them from the link count. And non-idiots do make > security errors -- they just fix them. But in this case, fixing the > error after the fact may be impossible without root's help.
Just do
chmod ug-s file
and you're done.
If you delete the file first, you'll need roots help, but hey, be careful.
Linus - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |