Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: cd -s symlink hangs (sometimes?)
- X-seq: zsh-workers 26814
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh-workers <zsh-workers@xxxxxxxxxx>
- Subject: Re: cd -s symlink hangs (sometimes?)
- Date: Mon, 06 Apr 2009 12:13:47 +0100
- In-reply-to: <237967ef0904060407r657c3bfbp132ed4350e66524f@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <237967ef0903201412h2a7b99c9ya5101509a3972313@xxxxxxxxxxxxxx> <20090320224856.73dae001@pws-pc> <237967ef0903201615x72769fe4va86273c3fa07cb2e@xxxxxxxxxxxxxx> <20090322125410.66a9d294@pws-pc> <237967ef0903221605h11983bb4v4eda8d2a1c41a1c9@xxxxxxxxxxxxxx> <20090323104928.0c59c30f@news01> <237967ef0903230446u6810c06cs511fddcc21fd2a8a@xxxxxxxxxxxxxx> <20090323122714.3373526a@news01> <20090324124612.26017e86@news01> <237967ef0904060407r657c3bfbp132ed4350e66524f@xxxxxxxxxxxxxx>
Mikael Magnusson wrote:
> I wasn't able to make it happen, but is it possible that under some
> circumstance, a command of the form
> /unimportant/dir% ls **/*; rm -rf *
> could now remove everything in my home directory?
It will now abort the current set of commands if restoring the directory
fails and in any case ** doesn't follow symlinks (unlike ***). In theory.
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070
Messages sorted by:
Reverse Date,
Date,
Thread,
Author