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 From: "Kris Thielemans" To: "Gnuwin" Subject: RE: ntsec and remote copy Date: Tue, 10 Dec 2002 16:26:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal In-Reply-To: Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Oh yes, a related remark. On the file with the funny UID, some things work, some don't. For instance, I can vi it, but I cannot write it. This seems to say that some cygwin programs call this file readable, but others don't... Bearing in mind the premissions that it is said to, I would actually claim that I should NOT be able to read it. Here's an illustration of 'test' that cannot read it. $ ls -l test.txt -rwx------+ 1 65535 None 1003 Dec 10 00:24 test.txt $ if [ -r test.txt ]; then echo 'I can read it'; else echo 'I cannot read it'; fi I cannot read it $ chown kris test.txt $ ls -l test.txt -rwx------ 1 kris None 1003 Dec 10 00:24 test.txt $ if [ -r test.txt ]; then echo 'I can read it'; else echo 'I cannot read it'; fi I can read it I also see now that not only files copied remotely have this strang eUID, but others as well (maybe older files?) Kris > -----Original Message----- > From: Kris Thielemans [mailto:kris DOT thielemans AT csc DOT mrc DOT ac DOT uk] > Sent: 10 December 2002 14:03 > To: Gnuwin > Cc: Kris Thielemans > Subject: ntsec and remote copy > > > Hi, > > 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 > > and the same nice UID when I use bash and cp to copy the remote file. It's > also fine when I do an 'ls -l' of the remote file by the way. > > So, where does cygwin get that funny UID (and permissions) from? > > cygcheck.out attached. > > Thanks > > Kris Thielemans > (kris.thielemans ic.ac.uk) > Imaging Research Solutions Ltd > Cyclotron Building > Hammersmith Hospital > Du Cane Road > London W12 ONN, United Kingdom > > web site address: http://www.irsl.org/~kris > > -- 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/