This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Permissions get lost when moving files between drives.
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: Ronald Fischer <fischron dot external at infineon dot com>
- Cc: cygwin at cygwin dot com
- Date: Thu, 15 Jan 2004 12:08:17 -0500 (EST)
- Subject: Re: Permissions get lost when moving files between drives.
- References: <200401151423.i0FENaQ19568@mailgate5.cinetic.de>
- Reply-to: cygwin at cygwin dot com
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/