From: john doe <johndoe65534@mail.com>
To: cygwin@cygwin.com
Subject: Re: Mount UNC path different user
Date: Sun, 02 Dec 2018 16:04:00 -0000 [thread overview]
Message-ID: <19c87327-1132-fa5c-7338-8ab6aefa3820@mail.com> (raw)
In-Reply-To: <195471691.20181202140937@yandex.ru>
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! :)
--
John Doe
--
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
prev parent reply other threads:[~2018-12-02 16:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-02 9:37 john doe
2018-12-02 11:20 ` Andrey Repin
2018-12-02 16:04 ` john doe [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=19c87327-1132-fa5c-7338-8ab6aefa3820@mail.com \
--to=johndoe65534@mail.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).