www.delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
Message-ID: | <04ce01c37ba7$5b1e67a0$a500000a@chrismob> |
From: | "Chris Rodgers" <cygwin AT bulk DOT rodgers DOT org DOT uk> |
To: | "Cygwin List" <cygwin AT cygwin DOT com> |
References: | <5 DOT 1 DOT 0 DOT 14 DOT 0 DOT 20030915104435 DOT 027cf828 AT 127 DOT 0 DOT 0 DOT 1> |
Subject: | Re: ntsec: changing the everyone user |
Date: | Mon, 15 Sep 2003 17:35:20 +0100 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2800.1165 |
OK. Here is an example of the way permissions leak out to "Everyone". I create a new file, with no permissions granted to "other". Cygwin shows this to have worked OK. Yet in actual fact there is an ACL there giving Everyone some access rights. I usually choose not to have "Everyone" authorised to do anything on my Windows NT/2000 boxes, using Authorised Users instead. This way, without a valid login, you cannot get any information, including usernames and ACLs. How can I stop cygwin setting these ACLs? [628 chris-mob /]$ umask 0007 [629 chris-mob /]$ touch delme [630 chris-mob /]$ ls -al delme -rw-rw---- 1 Administ wheel 0 Sep 15 17:31 delme [631 chris-mob /]$ getfacl delme # file: delme # owner: Administrator # group: wheel user::rw- group::rw- mask:rwx other:--- [632 chris-mob /]$ cacls delme C:\cygwin\delme CHRIS-MOB\Administrator:(special access:) STANDARD_RIGHTS_ALL DELETE READ_CONTROL WRITE_DAC WRITE_OWNER SYNCHRONIZE STANDARD_RIGHTS_REQUIRED FILE_GENERIC_READ FILE_GENERIC_WRITE FILE_READ_DATA FILE_WRITE_DATA FILE_APPEND_DATA FILE_READ_EA FILE_WRITE_EA FILE_READ_ATTRIBUTES FILE_WRITE_ATTRIBUTES BUILTIN\Administrators:(special access:) READ_CONTROL SYNCHRONIZE FILE_GENERIC_READ FILE_GENERIC_WRITE FILE_READ_DATA FILE_WRITE_DATA FILE_APPEND_DATA FILE_READ_EA FILE_WRITE_EA FILE_READ_ATTRIBUTES FILE_WRITE_ATTRIBUTES Everyone:(special access:) READ_CONTROL FILE_READ_EA FILE_READ_ATTRIBUTES [633 chris-mob /]$ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |