Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" To: cygwin AT cygwin DOT com Subject: Re: ntsec and remote copy Message-ID: <20021210181552.GA90597@WORLDNET> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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/