Hi, On Sat, Nov 17, 2001 at 12:41:41AM +0100, scc wrote: > Try as I may I can only run the rescan as root. It is in /usr/local/bin and > changing permissions to me as user and owner still will not allow acces to > it. Yes, I set the execute too. I'm not complainng. It's a great little > utility but just annoying. Any ideas anyone.
I don't know about which program you are talking (no references or quotes in your mail), however, maybe your program can be executed by the user but it must be root to do what it does. E.g. you can execute xscanimage as normal user for scanning with parport scanners but it won't help because /dev/port access needs root access. You could use the "setuid" bit for running the program with root privileges (chmod u+s /path/to/program) but this is dangerous and won't work with shell scripts. You can also use "sudo" to give certain users the permission to use specific programs as root. Bye, Henning