delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/06/30/12:28:02

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Wed, 30 Jun 2010 11:27:34 -0500
Message-ID: <AANLkTil7AIxbWoUFglLsMZT4TkwMkxbzTt_6ejuev-3P@mail.gmail.com>
Subject: Cygwin file permission issues
From: Derek Greer <dbgreer AT gmail DOT com>
To: cygwin <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-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

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

- Raw text -


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