Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Thu, 15 Jan 2004 12:08:17 -0500 (EST)
From: Igor Pechtchanski <pechtcha@cs.nyu.edu>
Reply-To: cygwin@cygwin.com
To: Ronald Fischer <fischron.external@infineon.com>
cc: cygwin@cygwin.com
Subject: Re: Permissions get lost when moving files between drives.
In-Reply-To: <200401151423.i0FENaQ19568@mailgate5.cinetic.de>
Message-ID: <Pine.GSO.4.56.0401151206430.1497@slinky.cs.nyu.edu>
References: <200401151423.i0FENaQ19568@mailgate5.cinetic.de>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Note-from-DJ: This may be spam

On Thu, 15 Jan 2004, Ronald Fischer wrote:

> I'm using cygwin bash on a Windows 2000 machine. When I perform the
> following steps (c: is the local drive, h: is a network drive, which is
> also my $HOME):
>
> cd c:/
> echo xxx >h:/tmp/x
> mv h:/tmp/x y
>
> then a
>
>   ls -l
>
> shows that c:/y has the permissions set to 000, though h:/tmp/x has them
> correct as 644.
>
> Ronald

Ronald,

Please read (and follow)
> Problem reports:       http://cygwin.com/problems.html

At a guess, your C: drive is a FAT (or, worse yet, FAT32) drive.  The
cygcheck output mentioned at the above link will show whether this is the
case.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

