reddragdiva: (stress relief)
[personal profile] reddragdiva

From enterprise-1.14.0.1.tgz:

$ grep -r chmod .|grep 777
./downloader/lib/Mage/Backup/Filesystem.php: chmod($backupsDir, 0777);
./app/code/core/Mage/Compiler/Model/Process.php: @chmod($dir, 0777);
./app/code/core/Mage/Install/Model/Installer/Console.php: @chmod('var/cache', 0777);
./app/code/core/Mage/Install/Model/Installer/Console.php: @chmod('var/session', 0777);
./app/code/core/Mage/Install/Model/Installer/Config.php: chmod($this->_localConfigFile, 0777);
./app/code/core/Mage/Catalog/Model/Product/Attribute/Backend/Media.php: $ioAdapter->chmod($this->_getConfig()->getTmpMediaPath($fileName), 0777);
./app/Mage.php: chmod($logDir, 0777);
./app/Mage.php: chmod($logFile, 0777);
./lib/Zend/Service/WindowsAzure/CommandLine/PackageScaffolder/PackageScaffolderAbstract.php: @chmod($path, '0777');
./lib/Zend/Service/WindowsAzure/CommandLine/PackageScaffolder/PackageScaffolderAbstract.php: @chmod($path, 0777);
./lib/Zend/Service/WindowsAzure/CommandLine/PackageScaffolder/PackageScaffolderAbstract.php: @chmod($path, 0777);
./lib/Zend/Cloud/StorageService/Adapter/FileSystem.php: chmod($path, 0777);
./lib/Varien/Autoload.php: @chmod($this->_collectPath, 0777);
./lib/Varien/File/Uploader.php: chmod($destinationFile, 0777);
./lib/Mage/Backup/Filesystem.php: chmod($backupsDir, 0777);
./errors/processor.php: @chmod($this->_reportFile, 0777);

I can't say what we're paying for this standard of quality, but I can say that it's public knowledge that Magento is at least $13k/yr.

The Magento world doesn't seem to consider this in any way a problem. Every guide I see blithely says to 777 stuff in your bloody webroot. I CANNOT EVEN.

Also, storing money as floats is absolutely fine and defensible.

You know you've been working on Magento a bit long when you can hum along to bits of "Metal Machine Music" accurately.

Update: Holy crap, this comment.

(no subject)

Date: 2014-11-06 01:42 am (UTC)
rone: (stare)
From: [personal profile] rone
Consider <TT> instead of <PRE>.

(no subject)

Date: 2014-11-08 06:06 am (UTC)
tcpip: (Default)
From: [personal profile] tcpip
Sweet mother of god. What are they thinking? This is evil. No really, evil. It's so bad I'm going to investigate even further just to see what almighty fuckup of biblical proportions they also suggest.

(no subject)

Date: 2014-11-12 11:02 pm (UTC)
tcpip: (This Man)
From: [personal profile] tcpip
"He who fights with monsters should look to it that he himself does not become a monster. And when you gaze long into an abyss the abyss also gazes into you."

After looking at Magento, I think I'll become a contributor to systemd.

March 2022

S M T W T F S
  12 345
6789101112
13141516171819
20212223242526
2728293031  

Style Credit

Expand Cut Tags

No cut tags