X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=2.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: References: Date: Wed, 1 Sep 2010 13:30:47 +0530 Message-ID: Subject: Fwd: Windows File permissions are not being inherited - Cygwin 1.7 - Windows 7 From: Harie Ram To: cygwin AT cygwin DOT com Content-Type: multipart/mixed; boundary=00504501718061c654048f2e1804 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com --00504501718061c654048f2e1804 Content-Type: text/plain; charset=ISO-8859-1 ---------- Forwarded message ---------- From: Harie Ram 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 AT cygwin DOT 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=nontsec environment variable is obsolete for this version. Please help. Thanks, HRS --00504501718061c654048f2e1804 Content-Type: text/plain; charset=US-ASCII; name="cygwin_query.txt" Content-Disposition: attachment; filename="cygwin_query.txt" Content-Transfer-Encoding: base64 X-Attachment-Id: f_gdiv8vud0 SGkgLA0KDQpJIGFtIGN1cnJlbnRseSBwYWNrYWdpbmcgQ3lnd2luIDEuNyBp LmUuIGJ1bmRsaW5nIGFsbCB0aGUgZmlsZXMgaW50byBhbiBtc2kgYW5kIGlu c3RhbGxpbmcgaXQuIFRoZSByZXF1aXJlbWVudCBpcyA6IGluc3RhbGwgb25s eSB0aGUgYmFzaWMgY3lnd2luIHBhY2thZ2VzLiBQcm92aWRlIHBlcm1pc3Np b25zIHRvIHRoZSBDeWd3aW4gdXNlcnMgc28gdGhhdCB0aGV5IGNhbiBpbnN0 YWxsIHRoZSBwYWNrYWdlcyB0aGF0IHRoZXkgcmVxdWlyZSBsYXRlci4gDQpU aGUgaXNzdWUgdGhhdCBJIGFtIGN1cnJlbnRseSBmYWNpbmcgaXMgOiB0aGUg bW9kaWZ5IHBlcm1pc3Npb25zIGdpdmVuIHRvIHRoZSBJTlNUQUxMRElSICJD OlxDeWd3aW4iIHVzaW5nIHRoZSBtc2kgbG9jayBwZXJtaXNzaW9uIHRhYmxl IGlzIGJlaW5nIGluaGVyaXRlZCB0aHJvdWdoIGFsbCB0aGUgc3ViZm9sZGVy cyBhbmQgZmlsZXMuIEFueSBuZXcgbWFudWFsbHkgY3JlYXRlZCBmb2xkZXJz IGFuZCBmaWxlcyBhbnl3aGVyZSB3aXRoaW4gQzpcQ3lnd2luIHZpYSBXaW5k b3dzIGV4cGxvcmVyIG9yIHZpYSB0aGUgQ3lnd2luIEJhc2ggU2hlbGwgYXJl IGluaGVyaXRpbmcgcGVybWlz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GF3YXJlIG9mIHRoZSBm YWN0IHRoYXQgQ1lHV0lOPW5vbnRzZWMgZW52aXJvbm1lbnQgdmFyaWFibGUg aXMgb2Jzb2xldGUgZm9yIHRoaXMgdmVyc2lvbi4NCg0KUGxlYXNlIGhlbHAu DQoNClRoYW5rcywNCg0KSFJTDQo= --00504501718061c654048f2e1804 Content-Type: text/plain; charset=us-ascii -- 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 --00504501718061c654048f2e1804--