delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/09/18/16:35:13

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <46F03658.B6BFFABA@dessent.net>
Date: Tue, 18 Sep 2007 13:34:32 -0700
From: Brian Dessent <brian AT dessent DOT net>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: what does the plus sign in a ls -l listing indicate?
References: <fcpc51$203$1 AT sea DOT gmane DOT org>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT 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

Jerome Fong wrote:

> Sorry, but I can't seem to find the answer anywhere.  Using the ls -la
> command, I get a listing of the files in my directory.  However, I have
> files with a "+" sign after their permissions.  What does this mean?  It
> doesn't seem to show up in ls examples  on the web.

The ls documentation explains it as:

     Following the file mode bits is a single character that specifies
     whether an alternate access method such as an access control list
     applies to the file.  When the character following the file mode
     bits is a space, there is no alternate access method.  When it is
     a printing character, then there is such a method.

In the context of Cygwin this means the files have ACLs that do not map
exactly to the POSIX ugo/rwx modes.  This is typical of files created by
native/non-Cygwin apps as they tend to not specify any particular
permissions to the filesystem and instead just inherit the default from
the directory.  You can use getfacl/setfacl, cacls/xcacls, etc. to view
them.

Brian

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