www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/09/01/16:01:13

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <AANLkTinZs2FvqFtYueGR0-Wg5L9veTLaE7+SJa56R-r4@mail.gmail.com>
References: <AANLkTima5VbUF2XFvv00ptE1L=9c9BT2hOOM8td4hhUN AT mail DOT gmail DOT com> <AANLkTinZs2FvqFtYueGR0-Wg5L9veTLaE7+SJa56R-r4 AT mail DOT gmail DOT com>
Date: Wed, 1 Sep 2010 21:00:59 +0100
Message-ID: <AANLkTikvqY4u8oi9wyKDRnj273omf-op=LJ_8oq-qrgt@mail.gmail.com>
Subject: Re: Windows File permissions are not being inherited - Cygwin 1.7 - Windows 7
From: Andy Koppe <andy DOT koppe AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

On 1 September 2010 09:00, Harie Ram wrote:
> I am currently packaging Cygwin 1.7 i.e. bundling all the files into
> an msi and installing it. The requirement is : install only the basic
> cygwin packages. Provide permissions to the Cygwin users so that they
> can install the packages that they require later.
>
> The issue that I am currently facing is : the modify permissions given
> to the INSTALLDIR "C:\Cygwin" using the msi lock permission table is
> being inherited through all the subfolders and files. Any new manually
> created folders and files anywhere within C:\Cygwin via Windows
> explorer or via the Cygwin Bash Shell are inheriting permissions. But
> any new installations done by the user by choosing a package from the
> Cygwin list are not inheriting the permissions.

Giving users the right to change a global Cygwin install doesn't sound
like a terribly good idea.

> The installed user who
> installs the package has full permissions to delete/modify the folder
> and its contents . But the local admin/administrator/system does not
> have permissions. It gives an access denied error. These 3 user groups
> administrators/system/users are not even being listed in the security
> properties of those installed folders.

Administrators can grant themselves the right to access those folders though.

Andy

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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