|
|
| Keep It Simple, Stupid | |
| PerlMonks |
Re: sudo from Apacheby pemungkah (Priest) |
| on Sep 02, 2011 at 20:20 UTC ( #923922=note: print w/ replies, xml ) | Need Help?? |
|
Are you able to edit sudoers? Can you add an entry to allow www-data to do the umount/mount? If not, have a daemon running as the user that can umount/mount and have the webserver process either connect to it via Unix sockets, or use a semaphore file in /tmp to indicate when a mount/umount is required.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||