Comments (6)
I retract my statement above regarding bundler throwing red flags. I just had a successful build with bundler with the funky permissions.
I still question whether it is necessary to have wide open permissions on the builds folder though.
from bigtuna.
Still seeing this though:
(in /srv/dep/bigtuna/shared/builds/prj/build_9_20110224092312) /usr/local/lib/ruby/gems/1.8/gems/bundler-1.0.10/lib/bundler/runtime.rb:136: warning: Insecure world writable dir /srv/dep/bigtuna/releases/20110224091425/builds/prj/bundle/ruby/1.8/bin in PATH, mode 040777 rake aborted! no such file to load -- sqlite3
bundler then seems to picks up bigtuna's Gemfile for building the project, which of course fails the build.
BTW, I only got that far because I specified --gemfile in the bundler install call...
from bigtuna.
The culprit for this is Ruby's daemons library. Someone thinks that 000 is a sensible umask.
Anyway, there is still something else strange going on, because builds still fail because bundler isn't setting up the environment correctly...
from bigtuna.
I did make the 'builds' folder start with 0754 permissions in this commit: f34335a, but that didn't change the subdirectories' (projects/builds) permissions. They vary from 0777 to 0755. Any ideas ? :)
from bigtuna.
as I tried to explain, the issue is actually in how the delayed_job daemon is run. It uses the Ruby's daemons library which sets the umask (hard coded) to 000.
I dropped the daemons library for myself (it isn't any good anyway, imho) with a little modification to the delayed_job script, and using daemontools as explained there: http://www.mobalean.com/blog/2010/08/16/delayed_job-and-other-daemons-in-a-production-environment
from bigtuna.
Ok then, seems like it's more of a job for deamons library guys :) Thanks for the insight!
from bigtuna.
Related Issues (20)
- Project with VSC only (no steps) should build properly HOT 1
- Update docs
- Pages redesign/restyle. HOT 4
- Missing navigation buttons HOT 1
- build environment: remove RUBYOPT HOT 4
- Heroku environment variables HOT 1
- Duplicate a project HOT 1
- Multiple commits build
- Do a pull instead of clone? HOT 2
- CCMenu/CCTray support - XmlStatusReport generation
- Question: On deploying to EY AppCloud
- projects table, etc. getting purged HOT 2
- MySQL: Text field for output too short HOT 2
- "method `to_yaml' not defined in Class" on rake db:create HOT 7
- Bigtuna needs more maintainers HOT 3
- RSS Feed for 'In Progress'
- Add HipChat notifications.
- Installation page HOT 2
- Support Rails 3.2.x HOT 1
- http://bigtuna.appelier.com/ appears to be spam HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bigtuna.