delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/07/18/13:03:58

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Reply-To: Cygwin List <cygwin AT cygwin DOT com>
Message-Id: <6.1.0.6.0.20040718125127.033441d8@pop.prospeed.net>
X-Sender:
Date: Sun, 18 Jul 2004 12:56:12 -0400
To: Michael Arndt <M DOT Arndt AT science-computing DOT de>, cygwin AT cygwin DOT com
From: Larry Hall <cygwin-lh AT cygwin DOT com>
Subject: Re: Permission Problem while installing Cygwin as admin
In-Reply-To: <20040717173149.B46431@blnsrv1.science-computing.de>
References: <20040717173149 DOT B46431 AT blnsrv1 DOT science-computing DOT de>
Mime-Version: 1.0

At 11:31 AM 7/17/2004, you wrote:
>Hello *
>
>Problem: Cygwin is installed with very restrictive Permissions
>         / and directories below have only access rights for the installing user
>    no one else ...
>         Selected was a "shared" install, not user specific
>
>Q:
>
>- is there any script or workaround to get correct permissiens for cygwin tree ?
>
>-remark: i installed as a privileged user with adminprivs
>         but the user is a user configured on a domain controller
>         not as local admin. 
>         I have all admin privileges on install host !
>
>This seems have led to two problems: 
>
>all group perms are shown as mkgroup
>all files / dirs belong to my account and have complete restrictive perms
>
>
>In list mails i found as workaround: create e.g. c:cygwin before install and give 
>permissions to users, then install. Is there any other solution to avoid reinstall
>or how can i understand the reasons ...


Sure.  Make sure your '/etc/passwd' and '/etc/group' files contain the 
local and domain groups and users you need (see 'man mkpasswd' and 'man
mkgroup' for details on the '-l' and '-d' flags).  Then use the '-R' 
flag to 'chmod' and/or 'chgrp' on '/' to set your permissions and/or
ownerships the way you want them.  You'll need to do this as the privileged
user.


--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746                     


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