SMF Development > Bug Reports

Using File Permissions brings down entire site?

<< < (3/6) > >>

Kill Em All:
No, because SMF is a script on the web server. It acts like a FTP client I guess you can say but it isn't a FTP client at all. All it does is CHMOD the folders.

AngelinaBelle:
Doesn't the script actually call an FTP client?

Kill Em All:
Taking a quick look at the Packages.php file, it doesn't necessarily call in a FTP client. Just attempts to change its own file permissions in its own root directory.

I'll see if someone else can explain this better.

Kill Em All:

--- Quote from: SlammedDime on April 02, 2010, 01:59:31 AM ---If SMF has to use FTP, that means that PHP isn't running as the same user that owns the files, so it has to use FTP to adjust permissions, which means not using php chmod.

If SMF does not have to use ftp (in the case of the server having suExec or suPHP), then it uses php's chmod because php will be running as the user who owns the files and therefore (in theory) control their permissions.

--- End quote ---

So yes, it could be using FTP, but if suExec or suPHP is running, then it won't be using FTP to change the settings. Check to see if either of those are installed on your server with your host.

N. N.:
Moved to Bug reports, though it's not yet obvious to me whether there's a bug here.
Unfortunately, I don't seem to have means to replicate it. It sounds more like a server configuration problem of some kind in any case, anyway a phpinfo() file may be useful.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version