Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <400D5539.7010809@zib.de>
Date: Tue, 20 Jan 2004 17:20:09 +0100
From: Stefan Zachow <zachow@zib.de>
Reply-To: stefan@zachow.org
Organization: Zuse-Institute Berlin (ZIB)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: running the latest cygwin on a windows 2003 server
References: <400D3B18.4000305@zib.de> <6.0.1.1.0.20040120095121.03921320@127.0.0.1> <400D49BE.1090108@zib.de> <Pine.GSO.4.56.0401201051430.14918@slinky.cs.nyu.edu>
In-Reply-To: <Pine.GSO.4.56.0401201051430.14918@slinky.cs.nyu.edu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Igor,

> What is the exact message you get when you try to run Cygwin programs as
> another user?  Which exact programs fail?  Do all the programs fail in 
> the
> same way?  

Unfortunetly users that are not in the administrator group cannot even start
a bash. That's why I took an Administrative user to create the cygcheck 
output.
The bash appears very shortly as a frame and disappears immediately again.

> BTW, it would have been more helpful to get a cygcheck output
> as a user for whom Cygwin doesn't work...  Also, check that all the
> programs and the necessary DLLs are readable and executable by everyone
> (instead of just you).  

The initial permissions for cygwin related stuff were

   user: adminst
   group: mkgroup
   permissions: rwx for user and group only

However, I changed these to: chmod -R o+ rX after installation

'mkgroup'  is strange. It seems that I cannot synchronize with
our network databases. A mkgroup -u -d DOMAIN gives the
following two lines of output:

LookupAccountName (\\Host, Domain Admins) failed with error 1332
LookupAccountName (\\Host, Domain Users) failed with error 1332

> I noticed you have "nontsec" set, so that might be
> what's hiding your problem (all files look executable, but the actual 
> ACLs
> don't allow other users to access them, and you don't see that via "ls"). 

I changed to ntsec as well - but no difference.

> On an unrelated note, it's usually not a good idea to have /cygdrive/* as
> a target for a mount.  If I understood correctly what you're trying to 
> do,
> simply connect to a network drive (using "net use", for example), and
> assign the letter "W:" to it.  Cygwin will automatically pick that up as
> "/cygdrive/w". 

Ah, OK. It wasn't clear to me that cygwin automatically
gathers all shared network drives.

> You might also want to investigate the "(no)smbntsec"
> option in the CYGWIN variable (see the User's Guide).

That's interesting, too. I haven't seen this one. But no change to
my problem.

   Stefan





--
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/

