Re: Mount UNC path different user
- Date: Sun, 2 Dec 2018 14:09:37 +0300
- From: Andrey Repin <anrdaemon@xxxxxxxxx>
- Subject: Re: Mount UNC path different user
Greetings, john doe!
> How can I do the following on Cygwin?:
> /sbin/mount.cifs //server/share /mount-point -o user=different-user
> In other words, how can I mount a windows share with a specific user ?
You can't. Cygwin is not a kernel module, it's a userspace program, and Cygwin
mounts are bind mounts.
net use \\server\share /user:chosen\user *
Then you can use Cygwin mount to place the shared directory wherever you want.
With best regards,
Sunday, December 2, 2018 14:07:21
Sorry for my terrible english...
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple