This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: directory permissions problem with net use

On Nov 29 17:49, Dave Sinclair wrote:
> Larry Hall (Cygwin <reply-to-list-only-lh <at>> writes:
> > 
> > Specify the user name and password to "net use"?  If this is not it, we
> > need 'cygcheck -srv' output, your '/etc/passwd' and '/etc/group' entries for
> > 'root', and whether you ssh in with password or public key authentication.
> > The former should work.  The latter requires the user name and password
> > supplied to "net use" as I mentioned above.
> > 
> Thanks Larry, i tried it with a passoword/userid (see below) but no joy.
> here's the cygcheck -srv output etc:
> [...]
> net use s: \\\\beech\\svctools xxxxx  /USER:root
> The command completed successfully.
> df: `/svctools': Permission denied
> Filesystem           1K-blocks      Used Available Use% Mounted on
> C:\cygwin\bin         78148160  11758728  66389432  16% /usr/bin
> C:\cygwin\lib         78148160  11758728  66389432  16% /usr/lib
> C:\cygwin             78148160  11758728  66389432  16% /
> c:                    78148160  11758728  66389432  16% /cygdrive/c
> d:                      389140    389140         0 100% /cygdrive/d
> df: `/cygdrive/s': Permission denied

Can you give us the output of 'cacls s:\' from a shell in which you're
able to access that drive, and the output of 
'c:/windows/system32/whoami /all' when you logged on via ssh?
I assume the permissions on the drive are set in a way which disallows
access using the passwordless user token, which is not quite the same
as a user token which is generated by a logon with password.


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]