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 <[email protected]> wrote:

> Thanks!
>
> On Dec 28, 3:21 pm, Nathan Bijnens <[email protected]> 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 <[email protected]> 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
> > <[email protected]>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" <[email protected]> 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 <[email protected]> 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 [email protected].
> > > To unsubscribe from this group, send email to
> > > [email protected]<symfony-users%[email protected]>
> <symfony-users%[email protected]<symfony-users%[email protected]>
> >
> > > .
> > > 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 [email protected].
> To unsubscribe from this group, send email to
> [email protected]<symfony-users%[email protected]>
> .
> 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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.


Reply via email to