[Templates] Re: What permissions are required for compiling?
[prev]
[thread]
[next]
[Date index for 2004/11/05]
On 11/5/04 5:59 PM, in article
37C02BA0C03A6C46B81E07135754B8A801A8F5DB@xxxx.xx.xxxxxx.xxx, "Jason
Gottshall" <jgottshall@xxxxxx.xxx> wrote:
>> mkdir tt_c: Permission denied at
>> /Library/Perl/5.8.4/darwin-2level/Template/Provider.pm line 398
>>
>> I have:
>>
>> my $tt = Template->new({
>> INCLUDE_PATH => 'tt/:lib/',
>> COMPILE_DIR => 'tt_c/',
>> COMPILE_EXT => '.ttc',
>> });
>
> You probably don't want TT creating the directory for you. Creating the
> directory on the filesystem first, then give TT an absolute path to it.
> So, if you want your compiled templates stored in '/mydir/tt_c', use
> this:
>
> my $tt = Template->new({
> INCLUDE_PATH => 'tt/:lib/',
> COMPILE_DIR => '/mydir/tt_c/',
> COMPILE_EXT => '.ttc',
> });
>
> Then the templates that are found under 'tt/' will be stored in
> '/mydir/tt_c/tt/', etc.
I tried. Once I did that it told me it couldn't create the actual .ttc file.
So it must be a permission. I am new to OSX/Unix and gave it a 0755 (I
think).
Robert
_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates