| 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 |
| X-MimeOLE: | Produced By Microsoft Exchange V6.0.6487.1 |
| MIME-Version: | 1.0 |
| Subject: | RE: Plus sign '+' in file permissions |
| Date: | Wed, 19 Nov 2003 13:00:47 -0600 |
| Message-ID: | <F67AB1DD14544242BE5BFE94F593917557605D@E2KMEMMCS1.ftbco.ftn.com> |
| X-MS-Has-Attach: | |
| X-MS-TNEF-Correlator: | |
| From: | "DePriest, Jason R." <jrdepriest AT ftb DOT com> |
| To: | <cygwin AT cygwin DOT com> |
| X-OriginalArrivalTime: | 19 Nov 2003 19:00:48.0111 (UTC) FILETIME=[716F9FF0:01C3AECF] |
| X-DCC-FTBDCCD2-Metrics: | dns2 1131; Body=1 Fuz1=1 Fuz2=1 |
| X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id hAJJ0xE3018469 |
> -----Original Message-----
> From: cygwin-owner AT cygwin DOT com
> [mailto:cygwin-owner AT cygwin DOT com] On Behalf Of Derek Mahar
> Sent: Tuesday, November 18, 2003 10:07 AM
> To: cygwin AT cygwin DOT com
> Subject: Plus sign '+' in file permissions
>
>
> To what does the plus sign '+' refer at the end of the list of file
> permissions in a Cygwin directory listing (for example, -rw-rw-rw-+)?
> I'm unfamiliar with this permission since I've never seen it in either
> Solaris or Linux directory listings. Using bash or Windows Explorer,
> how do I enable or disable this file permission?
>
> Once or twice, after having changed NTFS file permissions,
> I've seen the
> plus sign '+' disappear, but I don't know exactly how I did it, what
> permission(s) I changed, or how to repeat the process.
>
> Thanks,
>
> Derek
>
> -------------------------------------
> Derek Mahar
> Software Developer
> Penson Financial Services Canada
> 360 St-Jacques St West, 12th Floor
> Montreal QC H2Y 1P5
> 514.841.9665 x212 Phone
> 514.841.9700 Fax
> -------------------------------------
>
I'm guessing the '+' is used whenever there are permissions that do not
comply directly with the rwx(user,group,world) schema.
Behold:
depriest AT quagmire /bin
$ ls -l ls.exe
-rwxrwxrwx 1 admins mkgroup 71680 Jul 13 10:23 ls.exe*
is the same as
C:\cygwin\bin>xcacls ls.exe
C:\cygwin\bin\ls.exe Everyone:F
However, a newly downloaded and chmod'd to 777 .exe file looks like
this:
depriest AT quagmire /bin
$ ls -l connect.exe
-rwxrwxrwx+ 1 admins mkgroup 69632 Nov 19 12:52 connect.exe*
which equals the extremely ugly NTFS permission-set below
C:\cygwin\bin>xcacls connect.exe
C:\cygwin\bin\connect.exe BUILTIN\Administrators:(special access:)
STANDARD_RIGHTS_ALL
DELETE
READ_CONTROL
WRITE_DAC
WRITE_OWNER
SYNCHRONIZE
STANDARD_RIGHTS_REQUIRED
FILE_GENERIC_READ
FILE_GENERIC_WRITE
FILE_GENERIC_EXECUTE
FILE_READ_DATA
FILE_WRITE_DATA
FILE_APPEND_DATA
FILE_READ_EA
FILE_WRITE_EA
FILE_EXECUTE
FILE_READ_ATTRIBUTES
FILE_WRITE_ATTRIBUTES
DOMAIN\Domain Users:(special access:)
READ_CONTROL
SYNCHRONIZE
FILE_GENERIC_READ
FILE_GENERIC_WRITE
FILE_GENERIC_EXECUTE
FILE_READ_DATA
FILE_WRITE_DATA
FILE_APPEND_DATA
FILE_READ_EA
FILE_WRITE_EA
FILE_EXECUTE
FILE_READ_ATTRIBUTES
FILE_WRITE_ATTRIBUTES
Everyone:(special access:)
READ_CONTROL
SYNCHRONIZE
FILE_GENERIC_READ
FILE_GENERIC_WRITE
FILE_GENERIC_EXECUTE
FILE_READ_DATA
FILE_WRITE_DATA
FILE_APPEND_DATA
FILE_READ_EA
FILE_WRITE_EA
FILE_EXECUTE
FILE_READ_ATTRIBUTES
FILE_WRITE_ATTRIBUTES
DOMAIN\DEPRIESTJ:F
NT AUTHORITY\SYSTEM:F
--
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 |