1、svnserve.conf的配置代码如下:
### This file controls the configuration of the svnserve daemon, if you
### use it to allow access to this repository. (If you only allow
### access through http: and/or file: URLs, then this file is
### irrelevant.)
### Visit http://subversion.tigris.org/ for more information.
[general]
### These options control access to the repository for unauthenticated
### and authenticated users. Valid values are "write", "read",
### and "none". The sample settings below are the defaults.
anon-access = read
auth-access = write
### The password-db option controls the location of the password
### database file. Unless you specify a path starting with a /,
### the file's location is relative to the conf directory.
### Uncomment the line below to use the default password file.
password-db = passwd
### The authz-db option controls the location of the authorization
### rules for path-based access control. Unless you specify a path
### starting with a /, the file's location is relative to the conf
### directory. If you don't specify an authz-db, no path-based access
### control is done.
### Uncomment the line below to use the default authorization file.
authz-db = authz
### This option specifies the authentication realm of the repository.
### If two repositories have the same authentication realm, they should
### have the same password database, and vice versa. The default realm
### is repository's uuid.
# realm = My First Repository
~
2、authz文件的配置代码如下:
### This file is an example authorization file for svnserve.
### Its format is identical to that of mod_authz_svn authorization
### files.
### As shown below each section defines authorizations for the path and
### (optional) repository specified by the section name.
### The authorizations follow. An authorization line can refer to a
### single user, to a group of users defined in a special [groups]
### section, or to anyone using the '*' wildcard. Each definition can
### grant read ('r') access, read-write ('rw') access, or no access
### ('').
[groups]
# harry_and_sally = harry,sally
administrators = admin
developers = liwx,developer1
# [/foo/bar]
# harry = rw
# * =
# [repository:/baz/fuz]
# @harry_and_sally = rw
# * = r
[project:/]
@administrators = rw
@developers = rw
* =
~
问题描述:
通过TortoiseSVN 浏览SVN服务器上的目录时 总是提示:未授权打开根进行编辑操作"的错误。
解决方法:
去掉
anon-access = read
auth-access = write
的注释
把
anon-access = read
改成
anon-access = none
我猜测checkout的时候SVN看到anon-access = read,就不要求用户名密码,而到了具体目录的时候问题发生了,这时没有用户密码就不能获得文件所以出错了。
而写的时候本身就需要身份验证所以不出错。
分享到:
相关推荐
在使用Subversion(SVN)进行版本控制时,可能会遇到各种错误情况,这些错误通常与认证、权限、网络连接、客户端版本以及服务器设置等相关。以下是一些常见的SVN错误及其解决方法: 1. **错误信息:Server sent ...
本文将对 SVN 中常见的错误提示进行分析,并提供相应的解决方法。 1. svn: Server sent unexpected return value (500 Internal Server Error) in response to OPTIONS request for '...
svn-E170001报错是指在使用Jenkins配置svn拉取项目时出现的一种错误,错误信息为svn: E170001。该错误的出现是由于svn账户名和密码没有权限所导致的。 svn-E170001报错的原因: 1. svn账户名和密码没有权限:svn...
在使用Subversion (SVN) 进行版本控制时,可能会遇到各种错误,其中之一就是"Error Updating changes: svn:E155037"。这个错误通常表明在执行SVN操作时发生了问题,可能是由于文件或目录的锁、冲突或其他内部数据库...
SVN全称Subversion,是一个用于管理软件源代码版本的系统,允许团队成员对同一份代码进行协同编辑,并记录每一次修改,便于追踪历史变化和回溯。SVN的核心概念包括仓库(Repository)、工作副本(Working Copy)以及...
可以从 Apache 官网下载对应的二进制文件,然后选择对应的操作系统和架构进行下载。下载完成后,解压缩文件并将其添加到系统变量中,以便在任意目录下使用 SVN 命令行操作指令。 二、SVN 管理员命令 SVN 管理员...
myeclise10 svn: E210004: Number is larger than maximum 解决方案 专门解决win7 64位操作系统 下svn插件问题。 下载文件包括: site-1.8.22.zip --->svn离线安装包 Slik-Subversion-1.8.9-x64 --->问题修复必选...
在SVN中,`svn:log`属性是用于存储提交日志的,当用户执行`svn commit`命令时,系统会检查这个属性,如果未设置或者日志消息为空,提交将会被阻止,以确保每次提交都有清晰的变更记录。这对于团队协作和代码管理至关...
- 确认SVN服务器URL正确无误,例如应使用 `svn://192.168.6.200/` 而不是 `svn://192.168.6.200`。 - 检查网络连接状态。 - 重启SVN服务器或联系管理员确认服务器状态。 #### 错误三:`Add后未Commit,文件仍...
SVN 客户端是 SVN 仓库的访问接口,提供了多种操作方式,包括 Checkout、Update、Commit、Add、Delete 等。下面将详细介绍 SVN 客户端的使用方法: ### 安装 SVN 客户端 要使用 SVN,需要首先安装 SVN 客户端。...
RapidSVN是一款轻量级且用户友好的可视化Subversion(SVN)客户端,专为开发者和团队协作设计。Subversion是一种版本控制系统,用于管理软件项目中的文件和目录的更改历史,使得多人协同开发变得更加高效和有序。...
本 SVN 中文操作手册将深入讲解 SVN 的基本概念、安装与配置、命令行操作以及日常开发中的实践应用。 1. SVN 基本概念: - 版本库(Repository):存储所有文件和目录变更历史的中央数据库。 - 工作副本(Working...
Windows 和 Mac 操作系统下 SVN 基本操作命令 SVN(Subversion)是一种版本控制系统,广泛应用于软件开发、文档管理等领域。本资源将介绍 Windows 和 Mac 操作系统下 SVN 的基本操作命令。 一、Windows 下 SVN ...
3. **合并(Merge)**:如果检测到冲突,SVN会提示Harry下载其他用户的更改,并允许他手动合并这些更改,生成最终版本的文件A*。完成合并后,Harry将文件A*提交至仓库。 这种方法更适合处理文本类型的文件,因为...
在修复SVN问题时,开发者或系统管理员可能会使用这个工具直接操作`wc.db`数据库,进行查询、修复或数据恢复。 总的来说,处理"svn修复 sqlite3"问题需要对SVN的工作原理、SQLite3数据库和SQL有一定的了解。通过使用...
usage: change-svn-wc-format.py WC_PATH SVN_VERSION [--verbose] [--force] [--skip-unknown-format] change-svn-wc-format.py --help Change the format of a Subversion working copy to that of SVN_...
综上所述,SVN分级授权工具部署手册是一个详尽的技术文档,它不仅指导用户如何在Windows环境下部署和配置SVN服务,还包括了使用SVN分级授权工具进行日常管理和维护的具体操作。通过遵循手册中的步骤,用户可以实现对...
解决SVN上传提示Empty directoriesis not supported 解决SVN上传提示Empty directoriesis not supported