delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/01/15/12:08:17

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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 AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Ronald Fischer <fischron DOT external AT infineon DOT com>
cc: cygwin AT cygwin DOT 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 DOT i0FENaQ19568 AT mailgate5 DOT cinetic DOT de>
MIME-Version: 1.0
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 AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019