bugmonotone - Bugs: bug #19417, Restoring permissions on checkout

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #19417: Restoring permissions on checkout

Submitted by:  Jack Lloyd <randombit>
Submitted on:  Mon 26 Mar 2007 04:54:14 AM UTC  
 
Category: working copySeverity: 3 - Normal
Item Group: feature requestStatus: Duplicate
Privacy: PublicAssigned to: None
Open/Closed: Closed
mtn version --full: 

monotone 0.33 (base revision: cfebc8eb7049def476cc5fd61fef64eb14120e68)
Running on : Linux 2.4.20-021stab028.17.777-enterprise #1 SMP Tue Jul 19 19:31:27 MSD 2005 i686
C++ compiler : GNU C++ version 3.2.3 20030502 (Red Hat Linux 3.2.3-56)
C++ standard library: GNU libstdc++ version 20030502
Boost version : 1_33_1
Changes since base revision:
format_version "1"

new_manifest [0a01d89014dd718be7b60c71601679d8e8d8368f]

old_revision [cfebc8eb7049def476cc5fd61fef64eb14120e68]

Generated from data cached in the distribution;
further changes may have been made.

Sun 25 Nov 2007 07:50:54 PM UTC, comment #1:

This looks like it just needs the attribute handling asked for in Bug #16881

Timothy Brownawell <tbrownaw>
Project Member
Mon 26 Mar 2007 04:54:14 AM UTC, original submission:

Is there some way to have Monotone restore permissions on checkout? I can't find anything related in the manual or in the Lua hook documentation that would allow this. The problem I'm encountering is that on doing a pull && update, any file which is new or which was changed is reset to permissions based on my default umask. I'm keeping my website in Monotone and it's problematic that I have to manually chmod everything that changed or was added each time I update.

I'm guessing that Monotone isn't even saving metadata like that
currently, so doing a perm restore is probably not going to happen (though it would be nice). However I can't seem to find a Lua hook that will give me the pathname on an update with the list of filenames that are new or altered so I can correct the permissions. I can sort of imagine being able to hack something into note_commit(), but I can't tell if that is a good idea or not.

Jack Lloyd <randombit>
Project Member

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by tbrownaw (Posted a comment)
  • -unavailable- added by randombit (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 25 Nov 2007 07:50:54 PM UTCtbrownawStatusNone=>Duplicate
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1