php - Filesystem mkdir Failed to create "/client/" symfony -


bonjour,

i using mkdir function of filesystem bundle. need create folder each client add 777 permission symfony folders

chmod -r 777 /symfony/path/ 

but thrown exception "/client/" , "/client"

have missed something?

my controller easy

private function addfolder () {     $fs = new filesystem();     $fs->mkdir('/client/');     return; }     

it's running on macosx

thanks support

this because trying create client directory in root folder - should not using / @ beginning of path since means path specification starts @ root.

just replace /client/ client/ , should


Comments

Popular posts from this blog

javascript - How do you prevent nested queries/catches in sequelize? -

java - Could not retrieve pre-bound Hibernate session - Could not obtain transaction-synchronized Session for current thread -

java - ConcurrentModificationException upon committing transaction with Hibernate -