The DACL of symbolic link files created by "ln -s" on NTFS partitions gives
Everyone write access to the .lnk file.

$ ln -s /tmp foo
$ cacls foo.lnk
D:\cygwin\home\rgburger\foo.lnk SAGEBECK\RGBURGER:(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
                                 SAGEBECK\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

Attachment: cygcheck.out
Description: Binary data

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to