X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 	tests=AWL,BAYES_05
X-Spam-Check-By: sourceware.org
From: "John Daintree" <johnd@dyalog.com>
To: <cygwin@cygwin.com>
References: <001b01ca5978$32cbb900$98632b00$@com> <4AEB0D7D.8090006@cygwin.com> <002501ca5984$eddd7830$c9986890$@com> <4AEB29DE.50407@cygwin.com>
In-Reply-To: <4AEB29DE.50407@cygwin.com>
Subject: RE: Incorrect names for file owners on mapped samba drives
Date: Mon, 2 Nov 2009 09:21:30 -0000
Message-ID: <000e01ca5b9d$ddecb0b0$99c61210$@com>
MIME-Version: 1.0
Content-Type: text/plain; 	charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Identified-User: {765:host89.hostmonster.com:dyalogco:dyalog.co.uk} {sentby:smtp auth 81.187.162.50 authed with johnd@dyalog.co.uk}
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

> <http://cygwin.com/acronyms/#PCYMTNQREAIYR>.=20=20

Hi Larry,=20

Thanks for the heads up about PCYMTNQREAIYR, I'll configure my Mailer/Clien=
t as soon as I can get the IT guys to do it, or figure out how to change my=
 Outlook 2007 preferences.

I've established that the differences in the output of -ls -l on the differ=
ent drives is down to differences in acl/noacl.
=20
$ mount
//devt/devt on /u type smbfs (binary,notexec,noacl,posix=3D0,user)
U: on /cygdrive/u type smbfs (binary,posix=3D0,user,noumount,auto)

ls -l on u:/tmp returns "johnd" as owner of files
ls -l on /u/tmp returns "johnd" as owner
ls -l on /cygdrive/u returns "????????" as owner

I suspect that the difference is that /cygdrive/u does not have "noacl".=20

I also tried mounting with posix 0 and 1, but that seemed to make no differ=
ence.

As I said before ls -l  returns "johnd" as the owner on all files (not just=
 mine) which is odd, but less important to me right now. Interestingly the =
mks "ls" returns different SIDs for different files, but not the windows SI=
Ds. I guess it returns the SAMBA SIDs, and I'm missing a mapping layer some=
where. If you have insight on that I love to hear it.

Thanks for the help,
john.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

