# Capistrano error: not allowed to execute '/usr/bin/nohup script/spin'

**URL:** <https://www.ruby-forum.com/t/capistrano-error-not-allowed-to-execute-usr-bin-nohup-script-spin/162949>\
**Category:** Rails\
**Created:** [March 16, 2009, 3:03am UTC](https://www.ruby-forum.com/t/capistrano-error-not-allowed-to-execute-usr-bin-nohup-script-spin/162949 "2009-03-16T03:03:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikec](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/977dab/32.png) [@mikec](https://www.ruby-forum.com/u/mikec)\
**Post date:** [March 16, 2009, 3:03am UTC](https://www.ruby-forum.com/t/capistrano-error-not-allowed-to-execute-usr-bin-nohup-script-spin/162949/1 "2009-03-16T03:03:47Z")

</div>

I get the error that my assigned user isn’t allowed to execute script/  
spin. I checked in my current/ directory and there is no script/spin  
file.

---

<div class="post-metadata">

**Author:** ![mikec](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/977dab/32.png) [@mikec](https://www.ruby-forum.com/u/mikec)\
**Post date:** [March 16, 2009, 8:59am UTC](https://www.ruby-forum.com/t/capistrano-error-not-allowed-to-execute-usr-bin-nohup-script-spin/162949/2 "2009-03-16T08:59:52Z")

</div>

i hate to say it, but if you read the manual you’ll stumble over the  
following lines:

> [@](#):
>
> By default, when Capistrano needs to start your application layer, it  
> will try to execute a script called “spin”, in the “script” directory  
> of your application, on each remote server. We’ll need to write that  
> script, and then check it into the source repository.

read this:  
[http://www.capify.org/getting-started/from-the-beginning/](http://www.capify.org/getting-started/from-the-beginning/)

---

<div class="post-metadata">

**Author:** ![mikec](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/977dab/32.png) [@mikec](https://www.ruby-forum.com/u/mikec)\
**Post date:** [March 16, 2009, 2:28pm UTC](https://www.ruby-forum.com/t/capistrano-error-not-allowed-to-execute-usr-bin-nohup-script-spin/162949/3 "2009-03-16T14:28:48Z")

</div>

The page you mentioned looks very much updated now. A while ago the  
‘spin’  
script was not well documented here.  
If you use subversion, don’t forget to add the svn:executable property  
to  
the spin script. (Why not do that with all the files in the script  
directory?)

---

<div class="post-metadata">

**Author:** ![mikec](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/977dab/32.png) [@mikec](https://www.ruby-forum.com/u/mikec)\
**Post date:** [March 16, 2009, 5:24pm UTC](https://www.ruby-forum.com/t/capistrano-error-not-allowed-to-execute-usr-bin-nohup-script-spin/162949/4 "2009-03-16T17:24:07Z")

</div>

Oh, so I have to create the spin script myself?

On Mar 16, 6:28 am, Commander J. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![mikec](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/977dab/32.png) [@mikec](https://www.ruby-forum.com/u/mikec)\
**Post date:** [March 17, 2009, 9:06am UTC](https://www.ruby-forum.com/t/capistrano-error-not-allowed-to-execute-usr-bin-nohup-script-spin/162949/5 "2009-03-17T09:06:43Z")

</div>

duh. _g_
