[Freeswitch-users] mkdir not working

Oz Mortimer omortimer at gmail.com
Sat Dec 13 11:42:29 MSK 2014


Assuming your using php, you don't need to use freeswitch.
system("mkdir -p $vmail_base");

Making sure that the script owner has permissions to create this directory.



> On 13 Dec 2014, at 00:48, Chris Tunbridge <blasterjr at gmail.com> wrote:
> 
> You could try using something like the following instead.
> 
> $con->execute("system", "mkdir -p $vmail_base");
> 
> but i'm not certain as to where this is being called.
> 
>> On Fri, Dec 12, 2014 at 6:42 AM, kthofer <karl-theo_hofer at inteli-sim.com> wrote:
>> Hi there
>> we try to create a new directory
>>   $con->execute("mkdir", "$vmail_base");
>> to store some Voice mail files
>> 
>> But for some reason FS is not even trying to create the directory
>> we checked the user rights
>> the spelling
>> but still nothing not even in the linux logs we can not see that FS is
>> trying it atall.
>> 
>> Any suggestions??
>> what is going wrong?
>> Please let me know if you have a solution or workaround.
>> 
>> --
>> With best regards
>> 
>> Karl Theo Hofer
>> 
>> 
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>> 
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.cluecon.com
>> 
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services: 
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20141213/c7314ec8/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list