This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: determining what user mounted a drive


On 5/10/2011 16:25, Len Giambrone wrote:
> 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?

Are you asking about shares mapped to drive letters using a
Windows-native process such as "net use", or are you asking about shares
mapped to Cygwin paths using the mount command?

-Jeremy

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]