cache subdirectory owner/privileges
| From: | Jason Jones | Date: | Fri, 10 Jan 2003 23:06:33 +0000 |
| Subject: | cache subdirectory owner/privileges | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-7125@lists.php.net to get a copy of this message | ||
First of all, I love Smarty.
Anyway, I've been playing around with Smarty, and on my box's setup right now, when Smarty creates a directory in cache (named %%something), its owner is apache:apache. Since it's my box I just su -c 'rm -r' the folder, because otherwise I wouldn't have privileges to do so. On my website, which is virtual hosted, if the same thing happens I'm not sure how I would delete the cache folders (since I'm not root, obviously). The reason I would want to delete them is if I'm moving folders around (not that I don't want Smarty =).
Would I need to make a little script that will delete these (since it'll execute as apache)? Or am I just missing something obvious here?
Thanks for your help,
Jason Jones
jason@tekscode.com