On Wed, 9 Jun 2010, Md. Al Amin Chowdhury wrote: > 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.
The problem is that the web server software is not running as you, so it will not be able to create subfolders unless you give it write permissions, so you must use 0777. But why are you creating files? Using files to save information is probably the slowest way to persist data. Just two reasons why using a database is much better (Id say taking a parameter from a URL and opening a file with it is a much bigger security problem, what if P=/etc/passwd ?). -- -- 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 [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
