[horde] imp servers.php quota config still checking after removal of config
mtecles at biof.ufrj.br
mtecles at biof.ufrj.br
Mon Jun 28 13:32:15 UTC 2010
On 22 Jun 2010 at 16:03, Max Hetrick wrote:
> mtecles at biof.ufrj.br wrote:
> > I use a different implementation. I modified the following files:
> > imp/lib/Quota.php, imp/lib/IMP.php and imp/lib/Quota/command.php. Any
> > way, I have changed permission to run quota command (not sudo):
> >
> > chmod +s /usr/bin/quota
> >
> > Did you restart your web server?
>
> No, I didn't restart the server yet. I really can't do so at the moment,
> as this is a live production web server for services outside of my
> company as well.
>
> You said you edited imp/lib/Quota.php, imp/lib/IMP.php, and
> imp/lib/Quota/command.php. What exactly did you edit in those?
>
I edit them to customize to my use.
> From reading, I thought you only had to specify the configurations in
> servers.php, so I have the following:
>
> 'quota' => array(
> 'driver' => 'command',
> 'params' => array(
> 'quota_path' => '/usr/bin/quota',
> 'new_quota' => true,
> 'grep_path' => '/bin/grep',
> 'partition' => '/home'
> )
> ),
>
That's all you should need. What version are you using? I don't see
that "new_quota" parameter in imp/lib/Quota/command.php neither in
IMP-4.3.6 nor in webmail-1.2.5. It does not use "sudo" as well.
Mauricio
> As stated though, even after removing this configuration and restarting
> Apache, it's still trying to access it through sudo, even though I also
> removed those entries in the /etc/sudoers file too.
>
> I don't get it. It's like something is stuck.
>
> Max
> --
> Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
--------------------------------------------------------
Mauricio J. T. Tecles
Instituto de Biofisica Carlos Chagas Filho - UFRJ
Edificio do Centro de Ciencias da Saude, Bloco G
Av. Carlos Chagas Filho, 373
Cidade Universitaria, Ilha do Fundao
Rio de Janeiro, RJ
Brasil
21941-902
Telefone: 55 21 2562-6544
FAX: 55 21 2280-8193
mtecles at biof.ufrj.br
More information about the horde
mailing list