Hi Gabriel and thanks for explanation Problem putting files on 664 is that they won't be handled if they are included. I am trying some galleries with Flex that uses XML for flashvars, and they are not streamed correctly, so I had to place that with 775 too. My worry is that some handle of file is not done sometimes, and I don't see the error , wasting my time troubling why it won't work as well eheheheh
The soution with id is very interesting, but I have to study how to do it! Thanks anyway for your explanation. 2011/2/17 Gabriel Petchesi <pghora...@gmail.com> > What you said is correct, the same setup I use for my development > environment as well. > umask: 002 > development users belonging to www-data group. > Directories created with 775 and files with 664. > > Another thing that you could do, have not tried it myself, have multiple > users share the same user id that > is the same as the one used by www-data user. Something similar is used by > Dreamhost hosting all static > files belong to my user and apache (via fastcgi) uses the same user:group > to run the php code, it's clean and does > not cause problems. > > A couple of more suggestions: > 1. Do not use the netbeans packaged with Ubuntu. AFAIK that is the java > version (optimized for developing java code) > and usually is old one so better install the php only version downloaded > from the netbeans site. It's much lighter and should work better. > 2. Install the official jre if you haven't done so already, now belonging > to Sun/Oracle. > > gabriel > > > On Wednesday, February 16, 2011 5:31:04 PM UTC+2, ereallstaff 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