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

Re: timestamp preservation design (issue 1256)

From: P.Marek <pmarek_at_users.sourceforge.net>
Date: 2003-06-20 10:02:37 CEST

> P.Marek wrote:
> >A versioning system is about *conserving*
> >information, not losing it. Ideally *all* file information should be saved
> > - unix rights, NT acl's, ... I believe a hash of the file is stored now.
>
> Heh. What happens to ACLs if you commit on NT and check out on Unix?
> What happens to Unix rights if the committer is 'root' but 'luser' wants
> to check out a setuid file? There are probably hundreds of such interop
> problems with this idea, which is mainly why we didn't implement it
> (yes, we _did_ discuss it).
>
> Conserving information is not the same as being a cross between a magpie
> and a packrat. Some things are better forgotten. :-)
I'd suggest simply stating *which* os this property is for, eg
svn:volatile:Win32:NTFS:acls, and ignoring them on other platforms.
So everyone using unix may get the access rights (which could fold the
svn:executable into them), but a export on windows would just ignore them.

And if the user doesn't have enough right to export a setuid-binary ... either
dump an error or write it non-setuid.

Although, to be honest, if the user makes changes to that file and commits it
afterwards, the setuid bit would be lost if it was just read off the
filesystem and written back to the repository.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jun 20 10:03:49 2003

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.