delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_RP_MATCHES_RCVD |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <453701.95786.qm@web113509.mail.gq1.yahoo.com> |
References: | <AANLkTil7AIxbWoUFglLsMZT4TkwMkxbzTt_6ejuev-3P AT mail DOT gmail DOT com> |
Date: | Wed, 30 Jun 2010 10:11:48 -0700 (PDT) |
From: | Refr Bruhl <refr_bruhl AT yahoo DOT com> |
Subject: | Re: Cygwin file permission issues |
To: | Derek Greer <dbgreer AT gmail DOT com>, cygwin <cygwin AT cygwin DOT com> |
In-Reply-To: | <AANLkTil7AIxbWoUFglLsMZT4TkwMkxbzTt_6ejuev-3P@mail.gmail.com> |
MIME-Version: | 1.0 |
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 |
Are you setting permissions in cygwin with a 2775 on directories? Its my understanding the cygwin dll overwrites the windows permissions mode in favor of its own. So then you have to use set gid or set uid on the directory Hope this helps -R ----- Original Message ---- From: Derek Greer <dbgreer AT gmail DOT com> To: cygwin <cygwin AT cygwin DOT com> Sent: Wed, June 30, 2010 11:27:34 AM Subject: Cygwin file permission issues I've run into a Cygwin permissions issue that I haven't been able to resolve by looking through past discussions. When a file file or folder is created by a user under cygwin, it isn't adhering to the permissions inherited by parent folders. Based on the parent folder, any folders and files created should have full access by all users, but they aren't writable. When I go to the Security tab under Windows I get: "The permissions on [file/folder name] are incorrectly ordered, which may cause some entries to be ineffective. Press OK to continue and sort the permissions correctly, or Cancel to reset the permissions." Based on the description of this error message, the result of selecting "OK" or "Cancel" seem to indicate something is going to change (sorting, or reseting), so I'm not sure what the actual permissions are from the Windows point of view. When I select OK, I see a bunch of entries that shouldn't be there based on the permissions of the parent folder. When I select Cancel, it shows that 'Everyone' has full control. I've messed around with setting CYGWIN to ntsec an nontsec to see if that affects anything, but neither of these settings seem to affect the way the permissions are assigned for new files. How do I fix this? -- 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 -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |