Created
April 30, 2012 07:14
-
-
Save ftassi/2556166 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
diskutil erasevolume HFS+ "ramdisk" `hdiutil attach -nomount ram://1165430` | |
mkdir -p /Volumes/ramdisk/symfony/logs | |
mkdir -p /Volumes/ramdisk/symfony/cache | |
sudo chmod +a "ftassi allow delete,write,append,file_inherit,directory_inherit" /Volumes/ramdisk/symfony/cache /Volumes/ramdisk/symfony/logs | |
mkdir -p /Volumes/ramdisk/symfony/cache/annotations | |
mkdir -p /Volumes/ramdisk/symfony/cache/doctrine/orm/Proxies/ | |
chmod -R 777 /Volumes/ramdisk/symfony/cache |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Mi sembra abbastanza inutile eseguire "chmod +a" e poi eseguire "chmod -R 777" della stessa cartella... Che senso ha?