This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Permission Problem while installing Cygwin as admin
- From: Larry Hall <cygwin-lh at cygwin dot com>
- To: Michael Arndt <M dot Arndt at science-computing dot de>, cygwin at cygwin dot com
- Date: Sun, 18 Jul 2004 12:56:12 -0400
- Subject: Re: Permission Problem while installing Cygwin as admin
- References: <20040717173149.B46431@blnsrv1.science-computing.de>
- Reply-to: Cygwin List <cygwin at cygwin dot com>
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/