Modify

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#10220 closed defect (fixed)

Error: Can't write to Subversion permissions file

Reported by: jun66j5 Owned by: 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 (0)

Change History (9)

comment:1 follow-up: Changed 2 years ago by rjollos

  • Cc otaku42 hasienda added; anonymous removed
  • Owner changed from otaku42 to rjollos
  • Status changed from new to 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: Changed 2 years ago 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.

comment:3 Changed 2 years ago by rjollos

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

comment:4 Changed 2 years ago 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.

comment:5 follow-up: Changed 2 years ago by rjollos

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

comment:6 in reply to: ↑ 2 Changed 2 years ago 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.

comment:7 in reply to: ↑ 5 Changed 2 years ago by jun66j5

  • Resolution set to fixed
  • Status changed from assigned to closed

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 ; follow-up: Changed 2 years ago 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.

comment:9 in reply to: ↑ 8 Changed 2 years ago 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 Comment

Modify Ticket

Action
as closed The owner will remain rjollos.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.