Re: [SMARTY] Permissions

From: Date: Sun, 14 Apr 2002 04:20:15 +0000
Subject: Re: [SMARTY] Permissions
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-3694@lists.php.net to get a copy of this message
just write a web page that looks like: <?php exec('cd /path/to/templates_c; for x in $(ls); do rm -rf $x; done'); ?> done! this will run as the web server user who created the directories and files in the first place. Jason ----- Original Message ----- From: "Ben Curtis" <smarty@bencurtis.com> To: <smarty-general@lists.php.net> Sent: Saturday, April 13, 2002 1:07 PM Subject: [SMARTY] Permissions > I'm running into the problem of users using my project (which uses > smarty) who don't have root access to the machines on which they are > installing my project. So, if they want to remove my package after > using it for a while, they can't, since the contents of the compiled > templates directory aren't owned by them. Is there any way to solve > this problem besides overriding the _create_dir_structure() and > _write_file() functions in a class extension? > > -- > Smarty General Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.smarty.general (#3694) next »