apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kfo...@collab.net
Subject Re: File permision portability
Date Tue, 09 Oct 2001 19:43:10 GMT
Ryan Bloom <rbb@covalent.net> writes:
> On Friday 05 October 2001 12:24 pm, Sander Striker wrote:
> > 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.

Yah -- it sounds like whatever Subversion comes up with as a portable
representation for file modes, most of the new code should actually
end up in in APR.  Subversion will limit itself to storing and
retrieving those representations as svn properties, and of course to
actually using them to set perms when appropriate (checkout, update).

-K

Mime
View raw message