Allow developers to submit new application packages to a market server. Developers run a bash script which contains a cURL call to market server (localhost/market/submit/$app-name). The submit script on the server creates a new folder in existing svn server with the name of the submitted app. Script on dev side waits for HTTP to issue a success message and then do a svn checkout in dev local machine.


The submit script on the market server failed to create new svn directory through code:

echo `svnadmin mkdir -m 'added new package $package' http://localhost/market/packages/$package`;

this does not echo nothing and when I go on http://localhost/market/packages, the folder has not been added and the revision number has not been incremented.

I've tried from a terminal in market server

chown root:www-data /usr/bin/svnadmin


chmod 777 /usr/bin/svnadmin

but still no luck. Somebody has come acrosss similar problem? Any solutions? Thanks!

Profile: Linux/Ubuntu, apache subversion

  • ok, I've made an error, it should be svn mkdirand not svnadmin mkdir. working from terminal but still not working from apache ... – fabjoa Mar 12 '11 at 16:52

ok, noob mistake I did not set right the permissions of the folder that contains the svn server.

chown -R www-data:subversion /var/www/market/packages
chmod -R 750 /var/www/market/packages

now it works!

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.