Permissions get lost when moving files between drives.

Igor Pechtchanski pechtcha@cs.nyu.edu
Thu Jan 15 17:09:00 GMT 2004


On 2004年1月15日, 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/


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /