This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Permissions get lost when moving files between drives.


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]