You are not logged in.

#1 2016-01-03 03:41:41

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,433

ppp0.pid file permission

Hi,

I am trying to get mobile broadband connection status in my i3status output. Below is part of my i3status.conf

run_watch PPP {
                   pidfile = "/var/run/ppp*.pid"
           }


when I connect using netctl profile, pidfile created has only root permissions

-rw-------  1 root root   10 Jan  3 08:30 ppp-bsnl.pid
-rw-------  1 root root    5 Jan  3 08:30 ppp0.pid

I want to change the permission of pid file so that it can be read by i3status. using chmod go+r works only termporarily as pid file is created new every time.

-thanks

Offline

#2 2016-01-06 04:20:38

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,433

Re: ppp0.pid file permission

Circumvented the problem by using wvdial, inplace of netctl for ppp connection. ppp*.pid created by wvdial has read permission for all users. Not solved though exactly.

Offline

Board footer

Powered by FluxBB