[email protected] wrote:
>  
> On Thursday, March 18, 2010 11:45 CET, Carlo Rodrigues <[email protected]> wrote: 
>  
>   
>> Aarrgh stupid mistake.
>>
>> The language directories didn't have the execute bit on!
>> I must have forgotten to set it on the rpm spec file. 
>>
>>     
> Is the Red Hat RPM not supposed to do that for you?
>
>   
On a normal occasion, yes. But the problem is that I was telling it that 
everything inside /var/www/dspam/cgi-bin/templates should be set to 0644.
I had these lines in my spec file since before there were language 
choices, and the language directories:

%defattr(0644,dspam,dspam)
[...]
/var/www/dspam/cgi-bin/templates/*

So, on install, the rpm was setting everything inside templates 
directory to 644, including the subdirs.
When there were no lang dirs, this made sense. But now it doesn't.

Cheers,
Carlo


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Dspam-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to