This is the mail archive of the
mailing list for the Cygwin project.
Re: Mount UNC path different user
On 12/2/2018 12:09 PM, Andrey Repin wrote:
> 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.
Thank you, looks like I forgot that Cygwin is on Windows! :)
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple