On Sunday 21 October 2012 05:28 PM, Jasmine Hassan wrote: > Ritesh, > > Another thing: > > $ /etc/init.d/laptop-mode status > Laptop mode status: > > /usr/sbin/laptop_mode: 1175: /usr/sbin/laptop_mode: cannot create > /var/lock/lmt-req.lock: Permission denied > > Do I really need to be root to get the status of LMT? Why are we > creating a lock file when all we want is get the status of LMT?
Because the status output is not that of the init service. The status output you see is a full blown output from LMT, for which it seeks root permissions. -- Ritesh Raj Sarraf RESEARCHUT - http://www.researchut.com "Necessity is the mother of invention."
signature.asc
Description: OpenPGP digital signature