[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Shell commands in deleted directories
From: |
Paul Eggert |
Subject: |
Re: Shell commands in deleted directories |
Date: |
Sun, 13 Feb 2011 13:07:50 -0800 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7 |
On 02/13/2011 01:02 PM, Antoine Levitt wrote:
> + /* If current_dir is unreachable (typically, does not exist), use
> + ~/ as default */
This looks like a bad idea. Suppose I run the shell
command "rm *" in a deleted directory?
The change would cause me to remove files in
my home directory. Better safe than sorry.
Re: Shell commands in deleted directories, Eli Zaretskii, 2011/02/13
Re: Shell commands in deleted directories, Stefan Monnier, 2011/02/14