delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/08/13/10:15:04

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4A8422FD.4010405@gmail.com>
Date: Thu, 13 Aug 2009 15:28:13 +0100
From: Dave Korn <dave DOT korn DOT cygwin AT googlemail DOT com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: what is the meaning of the + in an ls -l ?
References: <4A841EDA DOT 7090705 AT intello DOT com>
In-Reply-To: <4A841EDA.7090705@intello.com>
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

Mike Schmidt wrote:
> I have noticed that in many cases when listing files with ls there is a
> + at the end of the permissions. What does this mean? It seems to be
> related to some problems I am having with file access from windows
> programs after the files have been modified by emacs in a cygwin session.
> 
> example:
> 
> -rwx------+ 1 user1           Aucun  3063892 Jan 20  2009 agent.exe
> -rwx------  1 user1           Aucun      821 Aug 13 02:16 config.xml
> -rwx------+ 1 user1           Aucun      569 Jan 20  2009 config.xml~

  It means that there are extra permissions set on the file, in the windows
ACL, that cannot meaningfully be expressed in terms of user/group/other
read/write/execute.  You can take a look at the file's properties in windows
explorer to see what they are, or use the 'cacls' (windows native) or
'getfacl' (cygwin) command-line utilities to examine them.

    cheers,
      DaveK


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