New submission from Mathieu Boespflug <[EMAIL PROTECTED]>: Say a darcs repository was created inside a subdirectory in /home/foo by user foo. If root pulls a patch into that repo then _darcs/inventory will change ownership from foo to root. Now any subsequent pull by user foo will both fail and leave the repository in an incosistent state, because it cannot record the presence of the new patches in _darcs/invenory (permission denied). Moreover, patches cannot be unrecorded or unpulled, even though they have been applied.
darcs should either not change the ownership of _darcs/inventory or make pulls atomic, ie if darcs pull fails then none of the patches are applied and the repository is left in its initial state. Thanks, Mathieu Boespflug ---------- messages: 834 nosy: droundy, mboes, tommy priority: bug status: unread title: pulling a patch as wrong user corrupts directory ____________________________________ Darcs issue tracker <[EMAIL PROTECTED]> <http://bugs.darcs.net/issue226> ____________________________________ _______________________________________________ darcs-devel mailing list [email protected] http://www.abridgegame.org/cgi-bin/mailman/listinfo/darcs-devel
