|
Posted by Gale on 04/01/06 14:48
s wrote:
> On Sat, 01 Apr 2006 02:16:46 +0200, Gale <gale@rules.da> wrote:
>
>> I try webadmin.php - a simple Web-based file manager by Daniel Wacker
>> and i get the same problem
>>
>> directories created by FTP have owner: "usernmame" group: ftponly
>> directories created by script has owner: wwwrun group: www
>>
>> when I create directory by script, I have no privilegies to vreate
>> another directory inside the new directory
>>
>> Please help!
>
> Use your FTP program to set the permissions on the target directory to
> 777. Then, your PHP script should be able to create files and
> directories inside. If your FTP program doesn't have a
> chmod/permission option, download WS_FTP.
>
> hth
>
> --
> <s@guerril.la.ape> (to email, remove .ape)
> --
>
I did that on first directory I created in FTP
If I create directory by script I can't set chmod by FTP because it's
diferrent uid.
I'm thinking of using ftp_mkdir()
can I set ftp_chmod() on directories or only on files ?
Navigation:
[Reply to this message]
|