Ticket #20 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

create repos faild for ossxp patched subversion.

Reported by: jiangxin Owned by: jiangxin
Priority: major Milestone: 0.3.0
Component: Undefined Version:
Keywords: Cc:

Description

Failed to create repository, return error: Permission denied.

But the repository is created and works.

Change History

comment:1 Changed 3 years ago by jiangxin

  • status changed from new to in_work

It is because I used a new hacked subversion.

The new hacked subversion created a repository without real hooks, but a link to system wide hooks directory, such as '/etc/subversion/hooks'.

comment:2 Changed 3 years ago by jiangx

  • status changed from in_work to in_QA
  • resolution set to fixed

(In [76]) When initial a new repository, do not delete hooks recursively if hooks is a link not a directory. Fixed #20.

comment:3 Changed 3 years ago by jiangx

  • status changed from in_QA to closed

(In [79]) Fixed #20: Use os.path.islink instead of os.path.isdir fixed this issue.

Note: See TracTickets for help on using tickets.