Mail Archives: cygwin/2003/11/19/14:01:08
> -----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/
- Raw text -