Modify

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#10220 closed defect (fixed)

Error: Can't write to Subversion permissions file

Reported by: Jun Omae Owned by: Ryan J Ollos
Priority: normal Component: TracHacks
Severity: normal Keywords:
Cc: Michael Renzmann, Steffen Hoffmann Trac Release: 0.12

Description

I got the following error when I registered a new hack.

Error: Can't write to Subversion permissions file

Could you please fix the issue if possible?

Thanks.

Attachments (0)

Change History (9)

comment:1 Changed 12 years ago by Ryan J Ollos

Cc: Michael Renzmann Steffen Hoffmann added; anonymous removed
Owner: changed from Michael Renzmann to Ryan J Ollos
Status: newassigned

Thanks Jun, I'll investigate. I'm assuming this is referring to the SVN Authz file. I haven't touched any of that configuration, but looking at the SvnAuthzAdminPlugin lately (which is installed on t-h.o and used for administration), I wouldn't be surprised if it could corrupt the Authz file.

comment:2 Changed 12 years ago by Ryan J Ollos

I recently made an update to NewHackMacro ([11764]) in order to fix #6601. I made the bad assumption that the version of NewHackMacro deployed on trac-hacks was the same as the version stored in the repository. However, it looks like the SVN_LOCAL_PATH and SVN_PERMISSIONS variables are not correct for t-h.o in the repository version of the macro.

comment:3 Changed 12 years ago by Ryan J Ollos

(In [11880]) Refs #10220: Set hard-coded variables appropriately for the deployed Trac-Hacks site.

comment:4 Changed 12 years ago by Ryan J Ollos

[11882] should have been inserted into this ticket.

(In [11882]) Refs #10220: Added path separators so that SVN_LOCAL is not required to end in a path separator.

comment:5 Changed 12 years ago by Ryan J Ollos

I was able to create a NewHack just now. Jun, could you please try again?

comment:6 in reply to:  2 Changed 12 years ago by Ryan J Ollos

Replying to rjollos:

I recently made an update to NewHackMacro ([11764]) in order to fix #6601. I made the bad assumption that the version of NewHackMacro deployed on trac-hacks was the same as the version stored in the repository.

Note to self: backup old plugins / macros before overwriting, just in case.

comment:7 in reply to:  5 Changed 12 years ago by Jun Omae

Resolution: fixed
Status: assignedclosed

Replying to rjollos:

I was able to create a NewHack just now. Jun, could you please try again?

Thanks a lot! I just registered my hack.

comment:8 in reply to:  1 ; Changed 12 years ago by Steffen Hoffmann

Replying to rjollos:

Thanks Jun, I'll investigate. I'm assuming this is referring to the SVN Authz file. I haven't touched any of that configuration, but looking at the SvnAuthzAdminPlugin lately (which is installed on t-h.o and used for administration), I wouldn't be surprised if it could corrupt the Authz file.

Did you take a look at the code? I did for the 0.10 branch, and it looks rather unspectacular.

comment:9 in reply to:  8 Changed 12 years ago by Ryan J Ollos

Replying to hasienda:

Did you take a look at the code? I did for the 0.10 branch, and it looks rather unspectacular.

Well, I did some work on the Trac 0.11 branch. I hastily applied a patch of questionable quality a few months back. Recently, trying to resolve issues with that patch. There are some other issues that appear unrelated to the patch. I've found it challenging to figure out how to fix that code. I think it's a several day project. It definitely needs some unit tests.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.