This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Permission denied problem


On 17 August 2007 17:35, Dave Korn

>  For comparison, what does the standard windows 'cacls.exe' utility tell you
> about that directory, and about one where the problem doesn't happen?

cacls will certainly be of great help, thanks a lot. Here is what I
get for the directory without problems:

$ cacls 'x:\02_0024\PPP'
x:\02_0024\PPP NT AUTHORITY\SYSTEM:(OI)(CI)F
         CORP\AllShareAdminGroup:(OI)(CI)F
         CORP\AllShareListGroup:(CI)R
         CORP\13.G__Access_Admin:R
         CORP\13.G__R_D_ITS:R
         CORP\13.G__Spark_International:R
         CORP\13.G__Team_Access_Admin:R
         CORP\16.0024_MO_Access_Admin:R
         CORP\13.G__Assistant:R
         CORP\13.G__Team_External:R
         CORP\13.G__Team_Member:R

And here is the directory with the permission denied problem

$ cacls 'x:\02_0024\PPP\QQQ'
x:\02_0024\PPP\QQQ CORP\13.G__Mgmt_Team:(DENY)(special access:)
                                DELETE
                                SYNCHRONIZE

     CORP\13.G__R_D_ITS:(DENY)(special access:)
                              DELETE
                              SYNCHRONIZE

     CORP\13.G__R_D_Restricted:(DENY)(special access:)
                                     DELETE
                                     SYNCHRONIZE

     CORP\13.G__RALM_Restricted:(DENY)(special access:)
                                      DELETE
                                      SYNCHRONIZE

     CORP\13.G__SCS_Restricted:(DENY)(special access:)
                                     DELETE
                                     SYNCHRONIZE

     CORP\13.G__Team_External:(DENY)(special access:)
                                    DELETE
                                    SYNCHRONIZE

     NT AUTHORITY\SYSTEM:(OI)(CI)F
     CORP\AllShareAdminGroup:(OI)(CI)F
     CORP\AllShareListGroup:(CI)R
     CORP\13.G__Access_Admin:(CI)R
     CORP\13.G__Team_Access_Admin:(CI)R
     CORP\16.0024_MO_Access_Admin:(CI)R
     CORP\13.G__Mgmt_Team:(OI)(CI)(special access:)
                                        DELETE
                                        READ_CONTROL
                                        SYNCHRONIZE
                                        FILE_GENERIC_WRITE
                                        FILE_WRITE_DATA
                                        FILE_APPEND_DATA
                                        FILE_WRITE_EA
                                        FILE_WRITE_ATTRIBUTES

     CORP\13.G__R_D_ITS:(OI)(CI)C
     CORP\13.G__R_D_Restricted:(OI)(CI)(special access:)
                                             DELETE
                                             READ_CONTROL
                                             SYNCHRONIZE
                                             FILE_GENERIC_WRITE
                                             FILE_WRITE_DATA
                                             FILE_APPEND_DATA
                                             FILE_WRITE_EA
                                             FILE_WRITE_ATTRIBUTES

     CORP\13.G__RALM_Restricted:(OI)(CI)(special access:)
                                              DELETE
                                              READ_CONTROL
                                              SYNCHRONIZE
                                              FILE_GENERIC_WRITE
                                              FILE_WRITE_DATA
                                              FILE_APPEND_DATA
                                              FILE_WRITE_EA
                                              FILE_WRITE_ATTRIBUTES

     CORP\13.G__SCS_Restricted:(OI)(CI)(special access:)
                                             DELETE
                                             READ_CONTROL
                                             SYNCHRONIZE
                                             FILE_GENERIC_WRITE
                                             FILE_WRITE_DATA
                                             FILE_APPEND_DATA
                                             FILE_WRITE_EA
                                             FILE_WRITE_ATTRIBUTES

     CORP\13.G__Team_External:(OI)(CI)C
     CORP\13.G__Team_Member:(OI)(CI)(special access:)
                                          READ_CONTROL
                                          WRITE_DAC
                                          WRITE_OWNER
                                          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_DELETE_CHILD
                                          FILE_READ_ATTRIBUTES
                                          FILE_WRITE_ATTRIBUTES

Do you have any idea of what I can do? As I told I have little change
to get the NT permissions changed (its a netwrok drive of a
bureaucratic big company) but since all windows applications (even
emacs for windows) access the directory without problems, I suppose
there must be a way to allow cygwin applications to do the same.

Thanks a lot,
Marko

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]