I have SVN configured in Linux at a different location and I need to check-in a shell script to SVN with executable attribute ON from Windows. I use Bamboo as CI, which checks out sources from SVN and does the periodic build. It throws error that shell script is not executable. (Bamboo run as root).
What is the best way to set the executable permission?
I don't use any SVN client and use eclipse to check-in and check-out. If SVN client is the only, how do I find a version that is compatible with SVN plugin that I use in eclipse. I had a compatibility problem earlier. When I checked-in a file from Tortoise, I couldn't checkout that file from Eclipse.
How to change default repository access permissions: Select the SVN repo you would like to protect directories within from the tools dropdown menu. Go to the Settings sub-tab on the SVN repository tab, then click the Protected Directories link on the left side.
Graham, svn doesn't store permissions. Your only option is to wrap your call to svn in a script. The script should call svn with its arguments, then set the permissions afterward. Depending on your environment, you might need to call your script svn and tweak your PATH to ensure it gets called.
They are stored in the svn:log property. You can add the --revprop flag to the various property commands to view & edit this property.
svn propset svn:executable "*" someScript
The syntax is propset key value
so svn:executable
is the key and "*"
is the value
someScript
is the filename
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With