Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in profiles: ChangeLog use.local.desc
On Fri, 02 Jan 2009 16:56:18 -0500 Doug Goldstein wrote: > Probably about as hard as it would be to get you to stop top posting > like an Outlook 95 user... IMHO the problem isn't top posting, but excessive quoting. :) Kind regards, jer
Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in profiles: ChangeLog use.local.desc
Eudora actually, I use a classy mail client. On Fri, Jan 2, 2009 at 1:56 PM, Doug Goldstein wrote: > Alec Warner wrote: >> How hard would it be to change permissions on the ,v file for this and >> just run the use.local.desc updater as a user with different >> privileges? >> >> > Probably about as hard as it would be to get you to stop top posting > like an Outlook 95 user... > >
Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in profiles: ChangeLog use.local.desc
> > we need to add CVS ACLS, which I've been meaning to do, but just never > > got around to. > What about creating a hook that checks if commited file is the one in > question > and fails the commit, if true? I don't know much about cvs hooks, however in > svn it would be simple to setup. Exactly what you describe is commonly called CVS ACLs, which I said already! -- Robin Hugh Johnson Gentoo Linux Developer & Infra Guy E-Mail : robb...@gentoo.org GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85 pgp68iYmIud2c.pgp Description: PGP signature
Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in profiles: ChangeLog use.local.desc
On Friday 02 of January 2009 22:53:36 Robin H. Johnson wrote: > On Fri, Jan 02, 2009 at 01:40:09PM -0800, Alec Warner wrote: > > How hard would it be to change permissions on the ,v file for this and > > just run the use.local.desc updater as a user with different > > privileges? > > It does have different permissions. It's the directory permissions that > matter however. I already tried the file permissions. If we want to > truly block it while not affecting commits to the rest of the directory, > we need to add CVS ACLS, which I've been meaning to do, but just never > got around to. > > CVS does (the short version): > 1. Take a file-based lock (#A) for the target ,v file. >No writes permitted, reads are permitted. > 2. Build the new version of the ,v in the temp space. > 3. Copy the new version to a different name in the target directory. > 4. Upgrade lock #A, no reads permitted now. > 5. unlink the old ,v file >(the kernel checks the directory permissions, not the file perms). > 6. rename the new file into place. > 7. Release lock #A. What about creating a hook that checks if commited file is the one in question and fails the commit, if true? I don't know much about cvs hooks, however in svn it would be simple to setup.
Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in profiles: ChangeLog use.local.desc
On Fri, Jan 02, 2009 at 01:40:09PM -0800, Alec Warner wrote: > How hard would it be to change permissions on the ,v file for this and > just run the use.local.desc updater as a user with different > privileges? It does have different permissions. It's the directory permissions that matter however. I already tried the file permissions. If we want to truly block it while not affecting commits to the rest of the directory, we need to add CVS ACLS, which I've been meaning to do, but just never got around to. CVS does (the short version): 1. Take a file-based lock (#A) for the target ,v file. No writes permitted, reads are permitted. 2. Build the new version of the ,v in the temp space. 3. Copy the new version to a different name in the target directory. 4. Upgrade lock #A, no reads permitted now. 5. unlink the old ,v file (the kernel checks the directory permissions, not the file perms). 6. rename the new file into place. 7. Release lock #A. -- Robin Hugh Johnson Gentoo Linux Developer & Infra Guy E-Mail : robb...@gentoo.org GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85 pgpqXZDVOIet3.pgp Description: PGP signature
Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in profiles: ChangeLog use.local.desc
Alec Warner wrote: > How hard would it be to change permissions on the ,v file for this and > just run the use.local.desc updater as a user with different > privileges? > > Probably about as hard as it would be to get you to stop top posting like an Outlook 95 user...