Re: Help with permissions and sophie
Matthew Trout <[email protected]> Tue, 16 Mar 2004 12:07:34 +0000
| Newsgroups | gmane.comp.security.virus.vtools |
|---|---|
| Message-ID | <[email protected]> |
I would have thought your best bet would be to start the script as root, open the socket and then setuid to the user whose files you want to scan. Alternatively add group-read/write permissions to the socket, create a special group for it and run the script as the user you're scanning for bu make the script setgid so it can access the socket ... -- Matt S Trout Network Programmer Business Serve plc