Ticket #10220 (closed defect: fixed)

Opened 10 months ago

Last modified 10 months ago

Error: Can't write to Subversion permissions file

Reported by: jun66j5 Assigned to: rjollos
Priority: normal Component: TracHacks
Severity: normal Keywords:
Cc: otaku42, hasienda 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

Change History

(follow-up: ↓ 8 ) 08/02/12 19:47:27 changed by rjollos

  • cc set to otaku42, hasienda.
  • status changed from new to assigned.
  • owner changed from otaku42 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.

(follow-up: ↓ 6 ) 08/02/12 21:44:07 changed by 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. 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.

08/02/12 21:45:36 changed by rjollos

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

08/02/12 22:28:16 changed by rjollos

[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.

(follow-up: ↓ 7 ) 08/02/12 22:28:25 changed by rjollos

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

(in reply to: ↑ 2 ) 08/02/12 22:37:07 changed by rjollos

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.

(in reply to: ↑ 5 ) 08/02/12 23:42:35 changed by jun66j5

  • status changed from assigned to closed.
  • resolution set to fixed.

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.

(in reply to: ↑ 1 ; follow-up: ↓ 9 ) 08/03/12 07:14:54 changed by hasienda

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.

(in reply to: ↑ 8 ) 08/03/12 11:12:57 changed by rjollos

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.


Add/Change #10220 (Error: Can't write to Subversion permissions file)




Change Properties
Action