delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/11/02/04:21:46

X-Recipient: archive-cygwin AT delorie DOT 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 AT dyalog DOT com>
To: <cygwin AT cygwin DOT com>
References: <001b01ca5978$32cbb900$98632b00$@com> <4AEB0D7D DOT 8090006 AT cygwin DOT com> <002501ca5984$eddd7830$c9986890$@com> <4AEB29DE DOT 50407 AT cygwin DOT 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
X-Identified-User: {765:host89.hostmonster.com:dyalogco:dyalog.co.uk} {sentby:smtp auth 81.187.162.50 authed with johnd AT dyalog DOT co DOT uk}
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019