Hello Javi,

Rename your symfony script in the project dir to symfony.real

paste this to a new file called symfony
#!/bin/bash

sudo symfony.real $@


that's about it.

Warning this is not tested! This will not work in windows!

regards,
  Nathan

On Mon, Dec 28, 2009 at 9:41 PM, tirengarfio <tirengar...@gmail.com> wrote:

> Thanks!
>
> On Dec 28, 3:21 pm, Nathan Bijnens <nbijn...@servs.eu> wrote:
>
> > You could maybe create a bash wrapper that calls sudo symfony? And put
> this
> > in the right path?
>
> Could you more details ?
>
> Javi
>
>
> On Dec 28, 3:21 pm, Nathan Bijnens <nbijn...@servs.eu> wrote:
> > This is a very bad idea...! Never run a program with more permissions
> than
> > it needs to have.
> >
> > You could maybe create a bash wrapper that calls sudo symfony? And put
> this
> > in the right path?
> >
> > Nathan
> >
> > On Mon, Dec 28, 2009 at 3:14 PM, Alexandru-Emil Lupu
> > <gang.al...@gmail.com>wrote:
> >
> > > A stupid ideea: launch your nb using sudo. So, you do not need to exec
> your
> > > task using sudo :)
> > > Anyway, the chown is your friend.
> >
> > > sent via htc magic
> >
> > > On Dec 28, 2009 3:52 PM, "mattsister" <matt...@gmail.com> wrote:
> >
> > > My question is:
> > > Why you have to be super user to deal with your own code? I think you
> > > should change the ownership of the project folder and make it
> > > yours!!! :)
> >
> > > On 27 Dic, 19:51, tirengarfio <tirengar...@gmail.com> wrote: > Hi, > >
> i
> > > have installed Netbeans wi...
> >
> > >  --
> > > You received this message because you are subscribed to the Google
> Groups
> > > "symfony users" group.
> > > To post to this group, send email to symfony-us...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > symfony-users+unsubscr...@googlegroups.com<symfony-users%2bunsubscr...@googlegroups.com>
> <symfony-users%2bunsubscr...@googlegroups.com<symfony-users%252bunsubscr...@googlegroups.com>
> >
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/symfony-users?hl=en.
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "symfony users" group.
> To post to this group, send email to symfony-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com<symfony-users%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en.
>
>
>

--

You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.


Reply via email to