This is the mail archive of the
mailing list for the Cygwin project.
Re: /usr/bin/install: accessing `//filesrv/chj//.bashrc': Permission denied
Don't try to get shares working like that through sshd. You'll be missing hair
Specify the share as a mount point with mount.
And then add your .bashrc:
if ! ls /mount_point/. 2>&1 >/dev/null; then
/c/WINDOWS/system32/net USE /USER:username '\\share' password
Yep, about as secure as you can chmod it, but that's life with windows.
On Tue, May 09, 2006 at 10:02:03AM +0200, Lloeki wrote:
> >so I guess this is really about shares...
> It's not really about shares, it's more about the user sshd runs
> under, and which happens to be sent to the share auth system.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html