apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@covalent.net>
Subject Re: File permision portability
Date Fri, 05 Oct 2001 22:46:44 GMT
They are inherently non-portable.  

And ACLs introduce a broad disparity.

Yes, win32 does capture X/R/W for U/G/W (G generally equals U)
for files on WinNT and 2000.  9x has no permission model at all.
We don't have a model yet for setting the perms, however.

Bill

----- Original Message ----- 
From: "Ryan Bloom" <rbb@covalent.net>
To: "Sander Striker" <striker@apache.org>; <dev@apr.apache.org>
Cc: <dev@subversion.tigris.org>
Sent: Friday, October 05, 2001 2:50 PM
Subject: Re: File permision portability


> On Friday 05 October 2001 12:24 pm, Sander Striker wrote:
> > [deliberately crossposted]
> >
> > Hi all,
> >
> > Can someone give me a quick answer if file permissions
> > are made portable in apr.  Specifically, are ntfs acls
> > mapped to the flags that show up in include/apr_file_info.h?
> > Subversion needs to portably handle at least the execute and
> > write permissions, which is my reason for asking.
> 
> They aren't, but they need to be made portable.  When I first wrote the
> file perm code, I didn't have the patience, or the knowledge to do portable
> perms across platforms, so I punted.  If you want to take a stab, I am more than
> happy to help.
> 
> Ryan
> 
> ______________________________________________________________
> Ryan Bloom rbb@apache.org
> Covalent Technologies rbb@covalent.net
> --------------------------------------------------------------
> 


Mime
View raw message