X-Spam-Check-By: sourceware.org Message-ID: <20051217224001.31830.qmail@web35704.mail.mud.yahoo.com> Date: Sat, 17 Dec 2005 14:40:01 -0800 (PST) From: surendar jeyadev Subject: File permissions and ownership changes between Unix and Cygwin To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes 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 I have been successful in using 'mkisofs' and 'cdrecord' (from Joerg Schilling)to burn CDs using Cygwin. One thing that is strange is the change in file permissions and ownership. I used 'chown' to (recursively) change the entire filesystem to be burned onto the CD so that the owner was 'SYSTEM'. I verified that this change was right. The group ownership was 'None' and I left that alone. But, when I run 'mkisofs' to create a raw image of the CD, I find (using 'filedisk' to mount the raw image) that the file ownership has been switched back to my Windows XP account name. The burned CD is, of course, the same. Also the permissions on the CD are set to 'rwxrwxrwx' even though this was not the case in the files on the hard disk. I understand that this is something to do with 'mkisofs', but I was wondering if there is a Cygwin trick that I am missing. I would like burn disks so that they have the right permissions and ownerships when used on a Unix/Linux machine. In particualar, I want 'r--r--r--' for the permissions and 'root' for owner and group. Any hints would be greatly appreciated. thanks sj __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- 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/