X-Spam-Check-By: sourceware.org Message-ID: Date: Mon, 20 Aug 2007 11:59:25 +0200 From: "Marko Loparic" To: cygwin AT cygwin DOT com Subject: RE: Permission denied problem MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: 3e8406fddfc513ae X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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/