Bug in install_amp: mkdir ... "0750" - quote mark

Linux Madriva 2006, php-5.0.4
freepbx-2.1.0:
install_amp:
function amp_mkdir
… $mode= “0755”…

function recursive_copy
… amp_mkdir(… ,“0750”, …

This construction set incorrect rights to new directories.

Small test:
#!/usr/bin/php

<?php mkdir("dir1", "0750"); mkdir("dir2", 0750); ?>

Exec this and I see:
dir1 d-wxr-xr-T (41354)
dir2 drwxr-x— (40750)

Conclusion: NO QUOTATION MARKS IN MODE PARAMETER IN PHP MKDIR!
Please, fix this bug.

put it in the bug tracker.
I know, but where is it? I cant find.
No word “bug” at main page www.freepbx.org
bugs.freepbx.org - no
bug.freepbx.org - no
Where?

Try

http://www.freepbx.org/newticket

put it in the bug tracker.

On 5/25/06, Mike_A [email protected] wrote:

[quote] Linux Madriva 2006, php-5.0.4
freepbx-2.1.0:
install_amp:
function amp_mkdir
… $mode= “0755”…

function recursive_copy
… amp_mkdir(… ,“0750”, …

This construction set incorrect rights to new directories.

Small test:
#!/usr/bin/php

<?php mkdir("dir1", "0750"); mkdir("dir2", 0750); ?>

Exec this and I see:
dir1 d-wxr-xr-T (41354)
dir2 drwxr-x— (40750)

Conclusion: NO QUOTATION MARKS IN MODE PARAMETER IN PHP MKDIR!
Please, fix this bug.


All the advantages of Linux Managed Hosting–Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642


Amportal-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amportal-users

[/quote]


Tom Vile
Baldwin Technology Solutions, Inc
Consulting - Web Design - VoIP Telephony
www.baldwintechsolutions.com
Phone: 518-631-2855 x205
Fax: 518-631-2856


All the advantages of Linux Managed Hosting–Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642


Amportal-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amportal-users

Post generated using Mail2Forum (http://www.mail2forum.com)