You should really have all your files sitting in your home directory and use
Apache virtual hosts (as described on the symfony website) too all you to
test the application in your local browser. You should not store your
project in the /var/www directory.

On Wed, Feb 16, 2011 at 5:31 PM, ereallstaff <ereallst...@gmail.com> wrote:

> Hi I have an annoying problem develoing application with netbeans
>
> I am on Ubuntu 10.10 and use netbeans 6.9 , installed from Ubuntu
> software center repository
>
> I know that applications Symonfy and php file should belong to
> www:data user and group, where www-data that is the default Apache
> user.
>
> But if all files belong to www-data using netbeans with normal user
> permissions, won't makes me modify them. Opening netbeans or any
> program with sudo or gksudo , could bring a lot of problem. Also
> Firefox opened in debug with sudo permission, makes it not function
> good anymore.
>
> A nice solution should be setting all files to NormalUser:www-data
> ( user and group I mean) . So you can modify them in local, and when
> they are uploaded by ftp to server, they go automatically with correct
> ownership.
>
> As a known problem of this, is sure that fopen php function, for
> example, won't open files, unless you set permission to group too
> ( 775 in total if I not go wrong  rwxrwxr-x on files)
>
> I want to ask you all if you face same problem, and how did you solved
> that.
>
> Thanks
> Giuseppe
>
> --
> If you want to report a vulnerability issue on symfony, please send it to
> security at symfony-project.com
>
> You received this message because you are subscribed to the Google
> Groups "symfony users" group.
> To post to this group, send email to symfony-users@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
>



-- 
Gareth McCumskey
http://garethmccumskey.blogspot.com
twitter: @garethmcc
identi.ca: @garethmcc

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@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