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]

File permissions and ownership changes between Unix and Cygwin



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/


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