delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Date: | Tue, 10 Dec 2002 13:15:52 -0500 |
From: | "Pierre A. Humblet" <pierre DOT humblet AT ieee DOT org> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: ntsec and remote copy |
Message-ID: | <20021210181552.GA90597@WORLDNET> |
References: | <NBBBKKHEOHOEPNCALMIGMEMLDIAA DOT kris DOT thielemans AT ic DOT ac DOT uk> |
Mime-Version: | 1.0 |
In-Reply-To: | <NBBBKKHEOHOEPNCALMIGMEMLDIAA.kris.thielemans@ic.ac.uk> |
User-Agent: | Mutt/1.4i |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |