cp -p gives error message

Buchbinder, Barry (NIH/NIAID) BBuchbinder@niaid.nih.gov
Fri Jun 4 18:20:00 GMT 2004


$ cp -p foo /h/Home/
/bin/cp: setting permissions for `/h/Home/DW/foo': Permission denied

This happens when copying to a network drive but not to /c .

The datestamps get copied over.
execute permission (as seen by the "*" which trails the file name when doing
ls -F) does not get copied over.

I do not remember having this error message before upgrading to cygwin
1.5.10.  Fileutils is 4.1-2.

Since all I care about is the datestamp, I'm not asking for this to be fixed
(though it would be nice), but it might affect other people or be indicative
of other problems.

- Barry



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