/usr/bin/install: accessing `//filesrv/chj//.bashrc': Permission denied

clayne@anodized.com clayne@anodized.com
Tue May 9 08:14:00 GMT 2006


Don't try to get shares working like that through sshd. You'll be missing hair
afterwards.

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
fi

Yep, about as secure as you can chmod it, but that's life with windows.

-cl

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.
> 
> Lloeki

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list