El Monday 09 March 2009 14:16:59 Ken escribió: > Thanks for the hint - I typically start up apache on Ubuntu via: > > sudo /etc/init.d/apache2 reload > > Should I create an apache user and start up as that user instead?
apache in ubuntu is started as www-data, even with "sudo /etc/init.d/apache2 reload" > > I am sure what the best security convention is - any advice will be > appreciated! > > On Mar 9, 6:36 am, Kenny Ortmann <[email protected]> wrote: > > your rails application directories should not owned by root... the > > cleaner solution would be to let the rails app be owned by the user that > > is running the server, probably apache. > > > > On Sat, Mar 7, 2009 at 5:13 PM, Ken <[email protected]> wrote: > > > It was a little ugly, but I answered my own question. > > > If anyone has any cleaner solutions, please let me know. Thx! > > > > > > ----------------------------------------------------------------------- > > >---- ----- > > > > > > sudo chmod a+w ./public/stylesheets/active_scaffold/DO_NOT_EDIT > > > sudo chmod a+w ./public/stylesheets/active_scaffold/default/* > > > sudo chmod a+w ./public/javascripts/active_scaffold/DO_NOT_EDIT > > > sudo chmod a+w ./public/javascripts/active_scaffold/default/* > > > sudo chmod a+w ./public/images/active_scaffold/DO_NOT_EDIT > > > sudo chmod a+w ./public/images/active_scaffold/default/* > > > > > > ----------------------------------------------------------------------- > > >---- ---- > > > > > > On Mar 8, 5:50 am, Ken <[email protected]> wrote: > > > > Hi, > > > > > > > > I am new to RoR/ActiveScaffold. Desperately trying to find a decent > > > > dynamic scaffolding option in Rails 2.2.2, I came across > > > > ActiveScaffold. I am running Ubuntu 8.04. > > > > > > > > Unfortunately, I am dying badly on line 17 of install_assets.rb where > > > > files are being copied into the public directory. My entire > > > > directory substructure is owned by root and set to 755, but > > > > unfortunately, Apache isn't very happy with this setting when running > > > > ActiveScaffold. > > > > > > > > Could someone please tell me what my permission scheme should be for > > > > which directories? > > > > I really want to get ActiveScaffold to work. BTW, I saw some earlier > > > > threads dating back to 2007 with these copy file issues. How did > > > > people resolve them? > > > > > > > > Please let me know. Thank you. > > > > > > > > Regards, > > > > Ken > > -- Sergio Cambra .:: entreCables S.L. ::. Nicolás Guillén 6, locales 2 y 3. 50.018 Zaragoza T) 902 021 404 F) 976 52 98 07 E) [email protected] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/activescaffold?hl=en -~----------~----~----~----~------~----~------~--~---
