[plug] chmod o+x

Robert Andrews squirrel at emerge.net.au
Sat Jan 13 20:50:33 WST 2001


Hi all Im entering some scripts to run a apllication and it requires users others than root to write to 
/var/lock/subsys 
I am following instructions supplied by another developer the instructions are as follows

The script "/etc/rc.d/rc" controlls the change of a run level. All symbolic links starting with a "K"
("K92mglmr") are taken to check  "/var/lock/subsys" for a lock file named "mglmr". The script "mglmr"
has to create an empty file in this directory during start up and delete it on stop.  "magicadm"  doesn't have properties to write into this directory. 
To solve this problem "root" has to change the properties of "/var/lock/subsys/" to "search/execute
others" : 

    chmod o+x /var/lock/subsys/

I have followed these instructions to the letter however the user "magicadm" still cannot write to the directory
The error returned is as follows
mglmr service start:touch: /var/lock/subsys/mglmr: Permission denied
Is there something wrong with the command chmod o+x /var/lock/subsys/

Thank you

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plug.org.au/pipermail/plug/attachments/20010113/09d08d04/attachment.html>


More information about the plug mailing list