Yes you should create an apache user.  I do not know everything that this
entails but I know you shouldn't be running the server as root.

On Mon, Mar 9, 2009 at 8:16 AM, Ken <[email protected]> wrote:

>
>
> 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?
>
> 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
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

  • Pl... Ken
    • ... Ken
      • ... Kenny Ortmann
        • ... Ken
          • ... Kenny Ortmann
          • ... Sergio Cambra .:: entreCables - Symbol Servicios Informáticos S.L. ::.

Reply via email to