delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Date: | Wed, 11 May 2011 08:36:05 +0200 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: determining what user mounted a drive |
Message-ID: | <20110511063605.GE28594@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <20110510212510 DOT C80AD9D5A0C AT mail2 DOT intersystems DOT com> <0105D5C1E0353146B1B222348B0411A209E8030CCD AT NIHMLBX02 DOT nih DOT gov> |
MIME-Version: | 1.0 |
In-Reply-To: | <0105D5C1E0353146B1B222348B0411A209E8030CCD@NIHMLBX02.nih.gov> |
User-Agent: | Mutt/1.5.21 (2010-09-15) |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
On May 10 18:04, Buchbinder, Barry (NIH/NIAID) [E] wrote: > Len Giambrone sent the following at Tuesday, May 10, 2011 5:25 PM > >Is there a way of determining with what user credentials a share was > >mounted? 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? > > I do not know but here is a guess. Wouldn't any user mount be that of > the current user? Isn't that the point of user mounts - I only see my > own? And if I'm root, I only see system mounts? Yes and no. You only see your own user mounts, but if there is a user root, this user would have a right to create user mounts, too. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |