Hi all, maybe this is a silly question. I'm trying to use the pre-revprop-change hook in svn to limit the modification of the commit message only to a single user. My pre-revprop-change file is as follows:
#!/bin/sh # REPOS="$1" REV="$2" USER="$3" PROPNAME="$4" ACTION="$5" # # Allow to the user "MyUser" to change the revision properties, e.g: change the commit message # if [ "$USER" = "MyUser" ]; then exit 0; fi echo "Only the MyUser user can change revprops" >&2 exit 1 The owner of the file is"Apache" and the right are 0755. The user I log into SmartSVN (the SVN client I use) is "MyUser". But when I try to change the commit message I got the following ? Any idea ? TIA Alberto Giordano Informativa sul trattamento dei dati personali (D. Lgs. 196/2003). I dati utilizzati per la spedizione del presente messaggio sono utilizzati da Gefran S.p.A., titolare del trattamento, per l'invio delle comunicazioni dei diversi settori aziendali, non essendo autorizzata la divulgazione a terzi. Potrete rivolgere alla seguente mail richieste di verifica, rettifica o cancellazione dei Vostri dati: [email protected] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~----------~----~----~----~------~----~------~--~---
<<image/gif>>
