mv and chmod bugs ?

Charles Wilson cwilson@ece.gatech.edu
Fri Aug 17 07:36:00 GMT 2001


First, check here: "Why doesn't chmod work?":
http://www.cygwin.com/faq/faq_4.html#SEC37

--Chuck

Pamela O'Shea wrote:

> 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/
> 
> 




--
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