|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-09-30 10:00 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 08:00:01 2025 UTC |
Description: ------------ my freebsd box php chmod function not work. chmod ("$upload_file_name", "0777"); NOT work. # ls -al -rw-r--r-- 1 nobody nobody 159744 Sep 30 11:42 test1.txt So I was modify my source code ex) exec("chmod 0777 $upload_file_name"); # ls -al -rwxrwxrwx 1 nobody nobody 159744 Sep 30 11:44 test2.txt GOOD work. So Oops. chmod ("$upload_file_name", 0777); -> not work. chmod ($upload_file_name, 0777); -> GOOD work. why ? check this. ^^/