Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Message-ID: <3D11D825.1824E3ED@imagingindia.com> Date: Thu, 20 Jun 2002 18:57:01 +0530 From: Kimman Balakrishnan MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Permission Denied on Mapped Network Drives Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I've searched the mailing list for a similar error - there were some but I couldnt find any 'resolution'. Would appreciate any suggestions to resolving the problem below: Environment : Win98 Cygwin1.DLL : Ver 1.3.3 We're using mkisofs to create an ISO9660 image of files - the files are located on a network drive that has been mapped - the mapping was done in Windows Explorer. The mkisofs scans a given directory for all files and directories, builds the TOC that a CD image requires and then reads all the files and writes them into the 'image' file. The mkisofs utility always exits with an error - Permission Denied. Repeated runs on the same source files do not result in the error at the same file name. Some times it runs through without a problem. A typical call sequence is as follows : mount h: /h mkisofs /h/dir1 umount /h The following errors have been ruled out : a. Source files are not readable - by running the same utility on the machine where the files are located - this runs fine. Also the error is never reported in the first pass when mkisofs is reading all the directory/file entries b. Copying the files in Windows Explorer from the mapped drive to a local drive is also ok. Looking at the source of mkisofs, it seems that the error is returned on a call to fread which returns 0. Kimman Balakrishnan Imaging Solutions Pvt Ltd -- 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/