X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=0.1 required=5.0	tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,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@mail.gmail.com> <AANLkTinZs2FvqFtYueGR0-Wg5L9veTLaE7+SJa56R-r4@mail.gmail.com>
From: Vasya Pupkin <cygwin@bsrealm.net>
Date: Wed, 1 Sep 2010 12:14:38 +0400
Message-ID: <AANLkTini9xL8ib_nEzzhoGNPPGLpWFeZrB88EKcoi4rk@mail.gmail.com>
Subject: Re: Windows File permissions are not being inherited - Cygwin 1.7 - Windows 7
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

I am facing similar issue and this is actually why I stopped using
Cygwin. There is no way to tell setup.exe to stop destroying
permissions. And noone seem to care about it.

On Wed, Sep 1, 2010 at 12:00 PM, Harie Ram <hari.ram66@gmail.com> wrote:
> ---------- Forwarded message ----------
> From: Harie Ram <hari.ram66@gmail.com>
> Date: Tue, Aug 31, 2010 at 8:11 PM
> Subject: Windows File permissions are not being inherited - Cygwin 1.7
> - Windows 7
> To: cygwin-info@cygwin.com
>
>
> Hi ,
>
> 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. 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.
>
>
>
> I have tried editing the /etc/fstab file with the noacl value. Still
> its not working. The content of my /etc/fstab file is as follows:
>
>
>
> C:/cygwin/bin /usr/bin ntfs binary,auto,noacl 0 0
>
> C:/cygwin/lib /usr/lib ntfs binary,auto,noacl 0 0
>
> C:/cygwin /cygwin ntfs override,binary,auto,noacl 0 0
>
>
>
> I am aware of the fact that CYGWIN=3Dnontsec environment variable is
> obsolete for this version.
>
>
>
> Please help.
>
>
>
> Thanks,
>
> HRS
>
> --
> Problem reports: =C2=A0 =C2=A0 =C2=A0 http://cygwin.com/problems.html
> FAQ: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 http:=
//cygwin.com/faq/
> Documentation: =C2=A0 =C2=A0 =C2=A0 =C2=A0 http://cygwin.com/docs.html
> Unsubscribe info: =C2=A0 =C2=A0 =C2=A0http://cygwin.com/ml/#unsubscribe-s=
imple
>

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

