mv and chmod bugs ?

Pamela O'Shea pamoshea@csn.ul.ie
Fri Aug 17 06:22:00 GMT 2001


Hi,
	I am not fully sure if these have been reported before but an
archive search didnt return any results.
	I have cygwin 1.3.2 release, and the mv and chmod commands seem to
have a problem.


1.	'chmod' for example doesnt change *any* permissions for any file,
example

$ touch test
$ ls -l test
-rw-r--r--	1 poshea None	0 Aug 17 14:15 test
$ chmod 700 test
$ ls -l test
-rw-r--r--      1 poshea None   0 Aug 17 14:15 test


2.	Also 'mv' has this unusal behaviour:

$ ls
file1 file2 file3 testDirectory
$ mv * testDirectory
mv: cannon copy a direcoty, `testDirectory`, into itself, `testDirectory/testDirectory`
$ cd testDirectory
$ ls
file1 file2 file3 testDirectory

  ..so it complains but still copies the directory anyway

Regards,
P.

 (o_
 //\
 V_/_




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list