Opened 5 years ago

Closed 5 years ago

# Error: Can't write to Subversion permissions file

Reported by: Owned by: Jun Omae Ryan J Ollos normal TracHacks normal Michael Renzmann, Steffen Hoffmann 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.

### comment:1 follow-up:  8 Changed 5 years ago by Ryan J Ollos

Cc: Michael Renzmann Steffen Hoffmann added; anonymous removed changed from Michael Renzmann to Ryan J Ollos new → assigned

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 follow-up:  6 Changed 5 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 5 years ago by Ryan J Ollos

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

### comment:4 Changed 5 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 follow-up:  7 Changed 5 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 5 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.

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

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

Resolution: → fixed assigned → closed

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 ; follow-up:  9 Changed 5 years ago by Steffen Hoffmann

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 5 years ago by Ryan J Ollos

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

Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.