[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: File permision portability

From: <kfogel_at_collab.net>
Date: 2001-10-09 21:43:10 CEST

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:44 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.