[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug#160849: coreutils: bug report for GNU Core Utils
From: |
Andreas 'ads' Scherbaum |
Subject: |
Re: Bug#160849: coreutils: bug report for GNU Core Utils |
Date: |
Fri, 24 Jun 2005 16:37:57 +0200 (CEST) |
On Fri, 24 Jun 2005, Andreas Schwab wrote:
-f, --force, --reply=yes do not prompt before overwriting
-i, --interactive, --reply=query
prompt before overwrite
--reply={yes,no,query} specify how to handle the prompt about an
existing destination file
^^^^^^^^^^^^^^^^^^^^^^^^^
This part is the problem.
If i understand Jim correct, its all not about an existing destination
file (mv will just overwrite it), but about how to handle the case, if the
destination file is not writable:
address@hidden:/home/ads > rm -rf abc def
address@hidden:/home/ads > touch abc def
address@hidden:/home/ads > ls -ld abc def
-rw-r--r-- 1 ads ads 0 Jun 24 16:31 abc
-rw-r--r-- 1 ads ads 0 Jun 24 16:31 def
address@hidden:/home/ads > /bin/mv --reply=no abc def
address@hidden:/home/ads > ls -ld abc def
ls: abc: No such file or directory
-rw-r--r-- 1 ads ads 0 Jun 24 16:31 def
address@hidden:/home/ads > rm -rf abc def
address@hidden:/home/ads > touch abc def
address@hidden:/home/ads > chmod a-w def
address@hidden:/home/ads > ls -ld abc def
-rw-r--r-- 1 ads ads 0 Jun 24 16:32 abc
-r--r--r-- 1 ads ads 0 Jun 24 16:32 def
address@hidden:/home/ads > /bin/mv --reply=no abc def
address@hidden:/home/ads > ls -ld abc def
-rw-r--r-- 1 ads ads 0 Jun 24 16:32 abc
-r--r--r-- 1 ads ads 0 Jun 24 16:32 def
This is, what i mentioned before: this parameter does not really what
someone would expect.
Regards
--
Andreas 'ads' Scherbaum
Failure is not an option. It comes bundled with your Microsoft product.
(Ferenc Mantfeld)
- Re: Bug#160849: coreutils: bug report for GNU Core Utils, Jim Meyering, 2005/06/24
- Re: Bug#160849: coreutils: bug report for GNU Core Utils, Eric Blake, 2005/06/24
- Re: Bug#160849: coreutils: bug report for GNU Core Utils, Jim Meyering, 2005/06/24
- Re: Bug#160849: coreutils: bug report for GNU Core Utils, Andreas Schwab, 2005/06/24
- Re: Bug#160849: coreutils: bug report for GNU Core Utils, Jim Meyering, 2005/06/24
- Re: Bug#160849: coreutils: bug report for GNU Core Utils, Andreas Schwab, 2005/06/24
- Re: Bug#160849: coreutils: bug report for GNU Core Utils,
Andreas 'ads' Scherbaum <=
- Re: Bug#160849: coreutils: bug report for GNU Core Utils, Bob Proulx, 2005/06/24
- Re: Bug#160849: coreutils: bug report for GNU Core Utils, Andreas 'ads' Scherbaum, 2005/06/24
- Re: Bug#160849: coreutils: bug report for GNU Core Utils, Andreas 'ads' Scherbaum, 2005/06/24
- Re: Bug#160849: coreutils: bug report for GNU Core Utils, Jim Meyering, 2005/06/24
- Re: Bug#160849: coreutils: bug report for GNU Core Utils, Bob Proulx, 2005/06/24
- Re: Bug#160849: coreutils: bug report for GNU Core Utils, Michael Stone, 2005/06/24
- Deprecating mv's --reply={yes,no,query} option, Jim Meyering, 2005/06/30
- Re: Deprecating mv's --reply={yes,no,query} option, Tim Waugh, 2005/06/30
- Re: Deprecating mv's --reply={yes,no,query} option, Jim Meyering, 2005/06/30
- Re: Deprecating mv's --reply={yes,no,query} option, Tim Waugh, 2005/06/30