僅供學習使用,轉載自:http://blog.csdn.net/sdustliyang/article/details/23255505
本地檔案在commit到倉庫之前若沒有chmod +x 權限的話,那在svn倉庫裡的檔案将會保持目前無可執行屬性狀态。
即使在本地chmod +x filename 之後,再送出到倉庫也是沒有用的,checkout到其他目錄的時候,檔案仍然沒有可執行權限。
需要使用svn 設定檔案屬性,如下
-
linux:
svn propset svn:executable on +檔案名
svn commit -m “commit 備注”
-
windows:
右鍵 - > propeties ->new ->executable.
commit上去即可