delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2001/09/05/08:19:20

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com
Date: Wed, 5 Sep 2001 14:16:25 +0200 (MEST)
Message-Id: <200109051216.OAA22987@burner.fokus.gmd.de>
From: schilling AT fokus DOT gmd DOT de
To: cygwin-developers AT cygwin DOT com, schilling AT fokus DOT gmd DOT de
Subject: Re: Star (second try)

>From vinschen AT redhat DOT com Wed Sep  5 13:22:51 2001

>On Wed, Sep 05, 2001 at 12:50:43PM +0200, schilling AT fokus DOT gmd DOT de wrote:
>> OK, if NTFS ACLs are that different from POSIX ACLs then it probably
>> won't make sense to use that to backup a FS. As star supports the
>> RMT protocol nicely even on Cygwin backups using star may make sense.
>> You could do a lot on Win9x if there was a function to get/set DOS file flags
>> by using POSIX filenames. As I did not install cygwin sources for compilation,
>> it would probably not make sense if I send a (untested) patch for that.

>Just to be clear.  The Windows native implementation is very
>different from the Solaris/POSIX implementations.  Cygwin uses
>them when available (NTFS filesystem) and fakes them otherwise.
>Let's talk about NTFS only.  Cygwin uses the underlying NTFS
>implementation to implement POSIX like permissions (stat, chmod,
>chown) and Solaris ACL calls (acl, facl, aclcheck, aclsort,
>acltomode, ...).  Even the Solaris getfacl(1) and setfacl(1) tools
>are available.  The reason for the Solaris implementation is
>simple:  I didn't know of POSIX ACLs when I implemented that.

OK, but now it should be easy to get access to the POSIX 1003.1e documents
for ACLs. If I understand correctly, the main difference between 
Solaris and POSIX is the name of the functions and the fact that
Solaris includes the default ACL in the main ACL while POSIX
handles them separately.

>> I'll have a lookt at it. A Solaris ACL implementation for star will be
>> available soon (when the Linux guys start to enhance star for Linux.

>Why does that have to wait until the Linux guys are doing something?
>The solaris ACL calls are already available for... Solaris (and
>Cygwin).  So I would assume that implementing and testing star for
>Solaris ACLs isn't dependent on Linux but on Solaris itself.

Simple, I want other people give the chance to help me with the impelemation
and I need to work on cdrecord again for some time ;-)

>> Let's just wait for this and see what happend with the Linux code.
>> The persons involved with ACLs on Linux like to make it POSIX compliant.
>> Maybe some of the code can be reused.

>You mean in star?  Or do you mean Linux code to be reused in Cygwin?
>The first is very likely, the second is absolutely impossible.  Cygwin
>relies on the Windows native API, naturally.

We have to find a way to have an star archive format that fits for both.
As the Linux code relies on low level syscall code that I assume is also
present on Cygwin, it may be that the hig level code from Linux could
be reused on Cygwin.

Jörg

 EMail:joerg AT schily DOT isdn DOT cs DOT tu-berlin DOT de (home) Jörg Schilling D-13353 Berlin
       js AT cs DOT tu-berlin DOT de		(uni)  If you don't have iso-8859-1
       schilling AT fokus DOT gmd DOT de		(work) chars I am J"org Schilling
 URL:  http://www.fokus.gmd.de/usr/schilling   ftp://ftp.fokus.gmd.de/pub/unix

- Raw text -


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