delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/01/20/11:33:35

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <400D5539.7010809@zib.de>
Date: Tue, 20 Jan 2004 17:20:09 +0100
From: Stefan Zachow <zachow AT zib DOT de>
Reply-To: stefan AT zachow DOT 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 AT cygwin DOT com
Subject: Re: running the latest cygwin on a windows 2003 server
References: <400D3B18 DOT 4000305 AT zib DOT de> <6 DOT 0 DOT 1 DOT 1 DOT 0 DOT 20040120095121 DOT 03921320 AT 127 DOT 0 DOT 0 DOT 1> <400D49BE DOT 1090108 AT zib DOT de> <Pine DOT GSO DOT 4 DOT 56 DOT 0401201051430 DOT 14918 AT slinky DOT cs DOT nyu DOT edu>
In-Reply-To: <Pine.GSO.4.56.0401201051430.14918@slinky.cs.nyu.edu>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019