I want to be able to create, modify, delete in samba share as well.
Got the solutionmkdir($dir);chmod($dir, $mode);chgrp($dir, $group);