determining what user mounted a drive

Jeremy Bopp jeremy@bopp.net
Tue May 10 21:52:00 GMT 2011


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



More information about the Cygwin mailing list