delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/12/17/20:55:39

X-Spam-Check-By: sourceware.org
Message-ID: <20051218015527.4921.qmail@web35701.mail.mud.yahoo.com>
Date: Sat, 17 Dec 2005 17:55:27 -0800 (PST)
From: surendar jeyadev <jeyadev3 AT yahoo DOT com>
Subject: Re: File permissions and ownership changes between Unix and Cygwin
To: cygwin AT cygwin DOT com
In-Reply-To: <43A4AF6E.37B4D80E@dessent.net>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Brian,

--- Brian Dessent <brian AT dessent DOT net> wrote:

> surendar jeyadev wrote:

> As far as I understand it, the basic ISO9660 format
> does not have any
> fields to store file attributes such as owner or
> permissions.  So on
> mounting such a disc, Windows and/or Cygwin will
> have to synthesize
> these fields, which is probably why they are not set
> as you want.

Ah! Never thought about the basic format .....

> To enable storing of these attributes you need to
> use the Rock Ridge
> extension.  When creating your image you will have
> to make sure that you
> enable these extensions (-R, -r, etc.)  Although

I always, even on an Unix box, use the -R -J options
when running mkisofs. The problem I mentioned occured
with these options. But (as you say below) I need to
explore the -r option, which I have not used so far.

> from the man page it
> looks like the author may be somewhat biased against
> win32:

Ah!! That is putting it mildly. Very mildly. (But then
again I am probably in that camp .... though,
certainly
not so extreme).

> When used on Win32, the
> execute bit is set on
>               all files. This is a result of the
> lack of file  permis-
>               sions  on  Win32  and  the Cygwin
> POSIX emulation layer.
>               See  also   -uid   -gid,   -dir-mode, 
>  -file-mode   and
>               -new-dir-mode.

I think that my answers will lie in these other
options.
I have not bothered with them so far.

> I'm not sure what "This is a result of the lack of
> file permissions on 
> Win32 and the Cygwin POSIX emulation layer" but it
> seems like some
> pretty thick ignorance, since that's the entire
> point of Cygwin.

I will leave you to spar with Joerg! I have my scars!!

> You should post your question on the cdrtools list
> or forum, since this
> is not a cygwin package.

I will try to find one .... Don't think that one
exists.

Thanks for the quick response.

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019