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]

Re: mv and chmod bugs ?


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/


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