This is the mail archive of the
mailing list for the Cygwin project.
Re: permission denied for NTFS network shares
- From: Genady Veytsman <genadyv at mysticom dot com>
- To: "Cygwin at Cygwin dot Com" <cygwin at cygwin dot com>
- Cc: Chris January <chris at atomice dot net>,Genady Veytsman <genadyv at mysticom dot com>
- Date: Sun, 22 Dec 2002 12:50:30 +0200
- Subject: Re: permission denied for NTFS network shares
- References: <LPEHIHGCJOAIPFLADJAHIEINDCAA.firstname.lastname@example.org>
Unix/Linux systems are much more secure then NT but they do allow RSH
without password (using .rhosts).
Are you saying that there is no way whatsoever to have RSH without
passwords? I need it for running scripts/programs on different NT
machines. Interactive behaviour (login/password) will not allow that
since you can't hardcode your passwords in scripts.
>Chris January wrote:
> Have you ever heard anyone say NFS is insecure? One of the reasons
> is that lots of systems are setup so that if I am root on my local
> the NFS server assumes I can access root's files on the remote machine...
> Windows NT domains, however, are supposed not to suffer from the same
> problem. This is because, in order to access a share, you must be
> authenticated by the domain server. The only way to authenticate with the
> domain server is to log on with your username and password. Simply
> to a machine isn't enough, the domain controller will not trust you.
> you will not have access to any network shares as it won't believe
> say you are.
I have some problem using rsh under cygwin.
It works fine for local disks and local disks of remote computers
(both UNIX and NT/2000).
But if I am trying to access NTFS network share (that is on file
server), I receive "permission denied".
Here is an example:
From unix machine:
> rsh genadyv ------- (genadyv is Window2000 machine with cygwin)
You are successfully logged in to this server!!!
$ ls -d //mystisun8/vol1/tmp --------- unix machine
$ ls -d /cygdrive/c/ -------- local disk C
$ ls -d /cygdrive/m/ ----- network share on file server
ls: /cygdrive/m: Permission denied
$ ls /cygdrive
c d g m p x y
I have no problem accessing /cygdrive/m/ from bash prompt in cygwin
/cygdrive/m is a mount to //mystifile/mixsig$
Any help is appreciated
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html