delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/05/10/17:25:33

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=1.4 required=5.0 tests=AWL,BAYES_05,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
X-InterSystems: Sent from InterSystems
X-InterSystems: Sent from InterSystems
X-InterSystems: Sent from InterSystems
From: Len Giambrone <Len DOT Giambrone AT intersystems DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
CC: Len Giambrone <Len DOT Giambrone AT intersystems DOT com>
Date: Tue, 10 May 2011 17:25:09 -0400
Subject: determining what user mounted a drive
MIME-Version: 1.0
Message-Id: <20110510212510.C80AD9D5A0C@mail2.intersystems.com>
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

Is there a way of determining with what user credentials a share was mounte=
d?
I suppose I could touch a file on the drive and then find out who the owner=
 is, but that's not ideal.

mount will tell me that it's a user mount, but won't tell me WHICH user.

Is there some way (windows native or Cygwin) of getting this information?


-Len



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