Help - Search - Members - Calendar
Full Version: Mkdir
Zymic Webmaster Forums > Zymic Free Web Hosting > Zymic Free Web Hosting - General Discussion & Help
noxus
cannot write to directories when using mkdir, the folder is created and chmod is correct, but files cant be written to moved into it using php, its something todo with the owner, its different to all existing files and folders created with a ftp client, even net2ftp
IamShipon1988
Are you doing this from another server?
noxus
nope, using my brutal 100% cross platform next generation nuke in dev, using a upload form for whatever, forum attachments, downloads, signatures, etc etc, all folders cannot be written to.

if you upload using a ftp client, from desktop or net2ftp, created folders have owner 120222 and what net2ftp displays, using mkdir, from php script on your site, the owner will be 2001

http://c0re.vndv.com/
noxus
you need safe_mode_gid on or something, and for most other file system functions. is_dir etc etc

http://php.net/manual/en/function.is-writable.php
noxus
the 2001 is the posix uid, echo posix_getuid(); posix_setuid(120222) doesnt work, so you cant create directories or files
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.