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]
Other format: [Raw text]

RE: 1.3.5 cp/permissions bug


I think this article in the FAQ will help.
http://cygwin.com/faq/faq.html#SEC44

and

http://cygwin.com/cygwin-ug-net/ntsec.html


I hope that this helps.

Andrew


___________________________________________
Andrew J. P. Maclean
Postal:
Australian Centre for Field Robotics
The Rose Street Building J04
The University of Sydney  2006  NSW
AUSTRALIA
Room:
106
Phone:
+61 2 9351 3283
Fax:
+61 2 9351 7474

http://www.acfr.usyd.edu.au/
___________________________________________


-----Original Message-----
From: Sundstrom, Peter [mailto:Peter@isecure.com.au] 
Sent: Wednesday, 21 November 2001 13:41
To: 'cygwin@cygwin.com'
Subject: 1.3.5 cp/permissions bug

I'm running 1.3.5 on Win2K

The cp command doesn't seem to understand permissions correctly.  See
following example:

Administrator@SCANNER$ cd /tmp
Administrator@SCANNER$ touch foo
Administrator@SCANNER$ chmod 000 foo
Administrator@SCANNER$ ls -l
total 0
----------    1 Administ None            0 Nov 21 13:34 foo
Administrator@SCANNER$ cp foo foo1
cp: `foo.exe' and `foo1' are the same file

Doing the same on a Solaris box gets the error:

cp: can not open foo: Permission denied


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