I am having trouble installing nut-2.0.2-1.x86_64.rpm nut-client-2.0.2-1.x86_64.rpm the service run as nut:nut, but /dev/ttyS0 is owned by root:uucp I can chown nut:nut /dev/ttyS0, but the owner changes on reboot. /etc/security/console.perms looks like to me that it only applies to user logins I have searched the web & found several how-tos, but most are at least a year old and do not seem to address this issue. Q: What am I doing wrong? Miguel
Konstantin 'Kastus' Shchuka
2005-Oct-20 23:23 UTC
[Nut-upsuser] /dev/ttyS0 permissions problem
On Thu, Oct 20, 2005 at 07:00:39PM -0400, Miguel wrote:> I am having trouble installing > > nut-2.0.2-1.x86_64.rpm > nut-client-2.0.2-1.x86_64.rpmWhat Linux distro?> > the service run as nut:nut, but /dev/ttyS0 is owned by root:uucp > > I can chown nut:nut /dev/ttyS0, but the owner changes on reboot.If it is on SUSE then you have to edit /etc/permissions.local and add a line there reading /dev/ttyS0 nut.nut 660 Then it will survive reboot.> Q: What am I doing wrong? >If it is not on a SUSE system, then I don't know the answer. -Kastus