On 14/07/2010 14:20, Torbjørn Thorsen wrote:
> sudo -u www-data X_DEBIAN_SITEID="default" ruby script/server webrick -e 
> production
> When I tried running that line, ruby exited with the following output:
> => Booting WEBrick
> => Rails 2.3.5 application starting on http://127.0.0.1:3000
> /usr/lib/ruby/1.8/fileutils.rb:243:in `mkdir': Permission denied - 
> /usr/share/redmine/tmp (Errno::EACCES)

You're right, and i can't fix this, except by properly documenting
that webrick NEEDS to be able to create those directories in 
/usr/share/redmine/tmp
So :
mkdir /usr/share/redmine/tmp
chown www-data:www-data /usr/share/redmine/tmp

and relaunch webrick.
Mind that webrick is intended for quick testing only. It should not be used
for production use.
Also, it is wise to remove /usr/share/redmine/tmp once you're done testing.

I can't add that tmp/ dir in redmine package, because it is not policy 
compliant.

Jérémy.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to