---
title: "svn 修改文件属性小笔记"
author: "Fire_Balrog"
date: "2010-10-22T23:59:11Z"
tags: []
categories: ["研发管理"]
slug: "svn"
draft: false
lastmod: "2010-10-22T23:59:11Z"
id: 791909
url: "https://fire-balrog.iteye.com/blog/791909"
---

使用svn时，有时候需要对文件执行chmod +x操作
但是实际上，chmod后再check in无法改变文件属性
查看svn的手册得知svn还有propset的操作

因此操作chmod的方法变为：


```shell

svn propset svn:executable ON [filename]

```

之后再执行svn ci即可

相关的可操作的属性还有以下几种

svn:ignore
svn:keywords
svn:executable
svn:eol-style
svn:mime-type
svn:externals
svn:needs-lock