Re: adding scripts for NetworkManagerDispatcher



On 11/25/06, Casey Harkins <caseyharkins gmail com> wrote:
Brian Eaton wrote:
> - the script must be a regular file (not a symlink), and must be owned
> by root.

This one is incorrect. We install a script (which auto configures our
network printers at our offices) to /usr/sbin and create a symlink from
the dispatcher.d directory to this script and it works perfectly.

Yep, you're right.  Symlinks are fine.  I was doing my test using a symlink to a file owned by a normal user.  The test failed because the file wasn't owned by root.  So long as you symlink to a root-owned file, you're fine.

Thanks for the info.

Regards,
Brian



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]