delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/07/13/11:32:46

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
To: cygwin AT cygwin DOT com
From: Francis Litterio <franl AT world DOT std DOT com>
Subject: How to prevent new files from having ACL that grants SYSTEM full control?
Date: Wed, 13 Jul 2005 11:11:12 -0400
Lines: 27
Message-ID: <uackqd8rd.fsf@world.std.com>
Mime-Version: 1.0
X-Draft-From: ("nntp+news.gmane.org:gmane.os.cygwin" "")
Gcc: nnfolder:sent-usenet
X-Random-Quote: Nature is by and large to be found out of doors, a location where, it cannot be argued, there are never enough comfortable chairs. -- Fran Lebowitz
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt)
X-IsSubscribed: yes

I have ntsec enabled, and I have the permissions on all my personal
files and directories set so that /bin/ls will show the permissions
without the trailing '+'.  Thus, /bin/ls shows me extactly who has
access to my files, and I don't have use Explorer or cacls to see who
has access.

Whenever I create a new file or directory in one of my directories using
a non-Cygwin Windows application (e.g., Wordpad), the file has the
following ACLs:

	c:\franl\todo.txt CORP\flitteri:F 
	                  NT AUTHORITY\SYSTEM:F 

which causes /bin/ls to show the permissions as "rwx------+".

Is there any way to prevent the SYSTEM ACE from appearing in the ACL of
new files and directories created by Windows applications (thus
eliminating the '+' from the /bin/ls output)?

At first, I thought the SYSTEM ACE was being inherited from the
directory in which the file was created, but that's not the case.  There
is no SYSTEM ACE in the ACL on the containing directory.

Any suggestions?
--
Francis Litterio
franl <at> world . std . com


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

- Raw text -


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