ntsec and remote copy

Pierre A. Humblet pierre.humblet@ieee.org
Tue Dec 10 10:38:00 GMT 2002


On Tue, Dec 10, 2002 at 02:02:59PM -0000, Kris Thielemans wrote:

> I have a problem with ntsec I think.
> I copied files from a remote disk (a Windows NT server) using the explorer.
> These files are then set to the following UID:
> 
> ls -l test.txt
> -rwx------    1 65535    None         1225 Dec 10 11:30 test.txt
> 
> If I create a file locally myself, I nicely get
> -rw-rw-rw-    1 kris     None         1230 Dec 10 13:46 local.txt

Kris,

The owner of the remote file has a SID that does not appear
in your passwd file and thus it cannot be mapped to a uid. 
Cygwin then uses uid = -1 
This also explains what you describe in your follow up
message.

Perhaps the Windows security gui or the cacls program will
reveal the identity of the owner.

Pierre

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