[Nut-upsuser] Re: Nut-upsuser Digest, Vol 1, Issue 28

Wim Heemskerk Lists lists_wh at hotmail.com
Thu Jul 21 23:22:29 UTC 2005


> The directory /etc/nut created at .deb install time is
> O755 root:nut

Could be. Then I guess I did the "chmod 660" for the folder + its files at 
once.

> although 750 is also fine, but might
> prevent some access to non secured files

Yeah, made it 751 since, so I can use the cgi status script. That's as fancy 
as it gets in my setup ;)

Well, unless it turns out the Sweex 1000 VA smart UPS supports switching off 
seperate outlets.. would anyone know?
    Currently I use upssched to turn the pc off 5 minutes after power 
failure and use the remaining juice to feed the phone system for a couple of 
hours. The downside of that setup is that the pc doesn't restart 
automatically if line power returns before the UPS is drained.

Thanks,

Wim Heemskerk

> Date: Thu, 21 Jul 2005 16:37:23 +0200
> From: arnaud.quette at mgeups.com
> Subject: [Nut-upsuser] Re: upsd won't run
> To: <nut-upsuser at lists.alioth.debian.org>
> Message-ID:
> <OFE975DB49.A4DB43F1-ONC1257044.0040755C-C1257045.005053B9 at ftgin.net>
> Content-Type: text/plain; charset=us-ascii
>
>
>
>> ...
>> They were 640 root : nut.
>>
>> I had not realised these would be wrong, as I could do "stat /etc/nut" 
>> just
>> fine, even as the "nut" user. Reading your note on this fresh day made me
>> wonder at once.. shouldn't that be 750? And yep; works like a charm now. 
>> :)
>
> The directory /etc/nut created at .deb install time is
> O755 root:nut, although 750 is also fine, but might
> prevent some access to non secured files (as the wizard.conf
> for the new MGE PSP).
>
> Arnaud Quette
> ---
> Linux / Unix Expert - MGE UPS SYSTEMS - R&D Dpt
> OpenSource Developer - http://arnaud.quette.free.fr/
> Debian Developer - http://people.debian.org/~aquette/
> ... and much more ... 



More information about the Nut-upsuser mailing list