This is the expected behaviour, you need to have access rights for the given directory to create a subdirectory in it. You can create the support directory with ownership set up as the user used to run apache (under Ubuntu this is www-data) in this case the access rights can be set up as 0700.
gabriel On Jun 9, 12:50 pm, "Md. Al Amin Chowdhury" <alamin.chowdh...@gmail.com> wrote: > Hi, > > I am working in a project using Symfony 1.4.5 with Doctrine. > I have two application backend,frontend. > The project content Ticket System, I have tickets module in backend > using admin-generator. > & also created a directory support underneath apps/backend > apps > -- backend > -- support > > admin user will create ticket during that time a sub-directory name > 'ticket_id' containing 'help.txt' file under apps/backend/support > apps > -- backend > -- support > -- 1 (ticket_id) > -- help.txt > -- 2 > -- help.txt > -- 3 > -- help.txt > > I can get the support directory using > sfConfig::get('sf-app-dir').'/support' in my model class. > I need to create the subdirectory with containing help.txt file under > apps/backend/support > > if i set full permission(0777) to support directory,the subdirectory > with files are created successfully. > > For security reason i cann't set the full permission(0777) to support > directory. > using default permission, I tried to create sub directory, it says > warning chmod,mkdir() > [function.mkdir<http://localhost:8004/backend_dev.php/tickets/function.mkdir>]: > Permission denied. > > Any Ideas > > Thanks -- 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